mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
(#694) Fixed missing assigment
This commit is contained in:
parent
a608904bea
commit
5e6fc505d0
@ -90,7 +90,7 @@ void RivWellPathSourceInfo::normalizedIntersection(size_t triangleIndex, const c
|
||||
|
||||
double norm = 0.0;
|
||||
cvf::Vec3d pointOnLine = cvf::GeometryTools::projectPointOnLine(segmentStart, segmentEnd, globalIntersection, &norm);
|
||||
cvf::Math::clamp(norm, 0.0, 1.0);
|
||||
norm = cvf::Math::clamp(norm, 0.0, 1.0);
|
||||
|
||||
*firstSegmentIndex = segIndex;
|
||||
*normalizedSegmentIntersection = norm;
|
||||
|
Loading…
Reference in New Issue
Block a user