mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adapt to the recent removal of Well::getRefDepthDefaulted() in opm-parser
This commit is contained in:
parent
0e973f7108
commit
c7fe719825
@ -629,7 +629,6 @@ protected:
|
|||||||
Opm::WellConstPtr deckWell = deckWells[deckWellIdx];
|
Opm::WellConstPtr deckWell = deckWells[deckWellIdx];
|
||||||
const std::string& wellName = deckWell->name();
|
const std::string& wellName = deckWell->name();
|
||||||
|
|
||||||
if (!deckWell->getRefDepthDefaulted())
|
|
||||||
wells_[wellIndex(wellName)]->setReferenceDepth(deckWell->getRefDepth());
|
wells_[wellIndex(wellName)]->setReferenceDepth(deckWell->getRefDepth());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user