Mini deck is reference, not pointer

This commit is contained in:
Jørgen Kvalsvik 2016-11-23 16:35:14 +01:00 committed by jokva
parent 4a0832030c
commit 3088068e37

View File

@ -411,7 +411,7 @@ public:
// has changed, the grid may need be re-created which has some serious // has changed, the grid may need be re-created which has some serious
// implications on e.g., the solution of the simulation.) // implications on e.g., the solution of the simulation.)
const auto& miniDeck = schedule.getModifierDeck(nextEpisodeIdx); const auto& miniDeck = schedule.getModifierDeck(nextEpisodeIdx);
eclState->applyModifierDeck(*miniDeck); eclState->applyModifierDeck(miniDeck);
// re-compute all quantities which may possibly be affected. // re-compute all quantities which may possibly be affected.
transmissibilities_.update(); transmissibilities_.update();