diff --git a/dumux/io/adaptivegridrestart.hh b/dumux/io/adaptivegridrestart.hh index 060712bfee44283d3c6aeb5d385f17a343d4fd48..58c4ffdf438129fe55a86cbc096d71640f546787 100644 --- a/dumux/io/adaptivegridrestart.hh +++ b/dumux/io/adaptivegridrestart.hh @@ -35,6 +35,7 @@ #if HAVE_ALBERTA #include <dune/grid/albertagrid/agrid.hh> #endif +#include <dune/grid/utility/grapedataioformattypes.hh> namespace Dumux { diff --git a/test/decoupled/2p/buckleyleverettanalyticsolution.hh b/test/decoupled/2p/buckleyleverettanalyticsolution.hh index c2c13b03839d1aaa2be07554424a4452b296ffd3..ca12e04be8a541b18879dc2e6fd02e37e1fa5721 100644 --- a/test/decoupled/2p/buckleyleverettanalyticsolution.hh +++ b/test/decoupled/2p/buckleyleverettanalyticsolution.hh @@ -265,7 +265,6 @@ private: else { // find x_f next to global coordinate of the vertex - int xnext = 0; for (int i = 0; i < size-1; i++) { Scalar x = frontParams_[i].second * time;