adapt to the recent removal of Well::getRefDepthDefaulted() in opm-parser

This commit is contained in:
Andreas Lauser 2015-01-27 22:40:49 +01:00
parent 0e973f7108
commit c7fe719825

View File

@ -629,8 +629,7 @@ protected:
Opm::WellConstPtr deckWell = deckWells[deckWellIdx];
const std::string& wellName = deckWell->name();
if (!deckWell->getRefDepthDefaulted())
wells_[wellIndex(wellName)]->setReferenceDepth(deckWell->getRefDepth());
wells_[wellIndex(wellName)]->setReferenceDepth(deckWell->getRefDepth());
}
// associate the well completions with grid cells and register them in the