adapt to the move of code from opm-common to opm-material

This commit is contained in:
Andreas Lauser
2018-02-08 12:11:20 +01:00
parent d3cb81a7ba
commit 260d62c2b8
13 changed files with 80 additions and 121 deletions
+2 -3
View File
@@ -25,8 +25,7 @@
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/Exceptions.hpp>
#include <opm/material/common/Exceptions.hpp>
#include <array>
#include <vector>
@@ -226,7 +225,7 @@ namespace Ewoms
coords[ 0 ] = gc ;
}
else
OPM_THROW(Opm::NotImplemented,"cartesianCoordinate not implemented for dimension " << dimension );
throw std::invalid_argument("cartesianCoordinate not implemented for dimension " << dimension );
}
template <class GridView>