fix the deprecation warnings caused by OPM/opm-parser#687

This commit is contained in:
Andreas Lauser
2016-02-21 17:45:56 +01:00
parent dff635e7b9
commit 099c958137
2 changed files with 3 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ try
// Grid init
std::vector<double> porv;
if (eclipseState->hasDoubleGridProperty("PORV")) {
if (eclipseState->hasDeckDoubleGridProperty("PORV")) {
porv = eclipseState->getDoubleGridProperty("PORV")->getData();
}
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));