Update deck access api

This commit is contained in:
Joakim Hove 2021-11-18 15:12:30 +01:00
parent f62a448c4b
commit b1e889f619

View File

@ -233,7 +233,7 @@ inline void testAll()
Opm::EclipseState eclState(deck);
Opm::Schedule schedule(deck, eclState, python);
const auto& pvtwKeyword = deck.getKeyword("PVTW");
const auto& pvtwKeyword = deck["PVTW"].back();
size_t numPvtRegions = pvtwKeyword.size();
if (numPvtRegions != 2)