Mini deck is reference, not pointer

This commit is contained in:
Jørgen Kvalsvik 2016-11-23 16:36:56 +01:00 committed by jokva
parent 2abb2c8144
commit 28c36ef949

View File

@ -264,7 +264,7 @@ namespace Opm
//
// TODO (?): handle the parallel case (maybe this works out of the box)
const auto& miniDeck = schedule.getModifierDeck(nextTimeStepIdx);
eclipse_state_->applyModifierDeck(*miniDeck);
eclipse_state_->applyModifierDeck(miniDeck);
geo_.update(grid_, props_, *eclipse_state_, gravity_);
}