From 4360201416c53d257c7b30ced155da281cdc04cc Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 30 Mar 2016 11:12:52 +0200 Subject: [PATCH] ebos: fix build breakage due to an opm-core API change the BlackoilState class removed the init() method and now expects the arguments for this method for the constructor... --- applications/ebos/eclequilinitializer.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/applications/ebos/eclequilinitializer.hh b/applications/ebos/eclequilinitializer.hh index 5a3078f40..b2be3837c 100644 --- a/applications/ebos/eclequilinitializer.hh +++ b/applications/ebos/eclequilinitializer.hh @@ -126,10 +126,9 @@ public: assert( gridManager.grid().size(/*codim=*/0) == static_cast(numEquilElems) ); // initialize the boiler plate of opm-core the state structure. - Opm::BlackoilState opmBlackoilState; - opmBlackoilState.init(numEquilElems, - /*numFaces=*/0, // we don't care here - numPhases); + Opm::BlackoilState opmBlackoilState(numEquilElems, + /*numFaces=*/0, // we don't care here + numPhases); // do the actual computation. Opm::initStateEquil(equilGrid,