mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7589 MSW : Always connect to segment with lower measured depth
This commit is contained in:
@@ -160,7 +160,7 @@ void RicMswTableFormatterTools::writeWelsegsSegmentsRecursively( RifTextDataTabl
|
||||
{
|
||||
RicMswSegment* outletSegmentForChildBranch = outletSegment;
|
||||
|
||||
RicMswSegment* tieInSegmentOnParentBranch = branch->findClosestSegmentByMidpoint( childBranch->startMD() );
|
||||
RicMswSegment* tieInSegmentOnParentBranch = branch->findClosestSegmentWithLowerMD( childBranch->startMD() );
|
||||
if ( tieInSegmentOnParentBranch ) outletSegmentForChildBranch = tieInSegmentOnParentBranch;
|
||||
|
||||
writeWelsegsSegmentsRecursively( formatter,
|
||||
|
||||
Reference in New Issue
Block a user