From 3088068e37d1a3b04cfa755f988c2b36faa52fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Kvalsvik?= Date: Wed, 23 Nov 2016 16:35:14 +0100 Subject: [PATCH] Mini deck is reference, not pointer --- ebos/eclproblem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 2598b3025..dcdc1ac74 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -411,7 +411,7 @@ public: // has changed, the grid may need be re-created which has some serious // implications on e.g., the solution of the simulation.) const auto& miniDeck = schedule.getModifierDeck(nextEpisodeIdx); - eclState->applyModifierDeck(*miniDeck); + eclState->applyModifierDeck(miniDeck); // re-compute all quantities which may possibly be affected. transmissibilities_.update();