Use Well::updateRefDepth() in Well::updateSegments()

This commit is contained in:
Joakim Hove 2020-03-17 11:12:37 +01:00
parent c0e328fd65
commit 86b85aca01

View File

@ -932,7 +932,7 @@ bool Well::handleWPIMULT(const DeckRecord& record) {
void Well::updateSegments(std::shared_ptr<WellSegments> segments_arg) {
this->segments = std::move(segments_arg);
this->ref_depth = this->segments->depthTopSegment();
this->updateRefDepth( this->segments->depthTopSegment() );
}