mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#694) Removed assert when finding projected point on well path segment
This commit is contained in:
parent
2478898a8b
commit
c8ecf78c8c
@ -90,8 +90,6 @@ void RivWellPathSourceInfo::normalizedIntersection(size_t triangleIndex, const c
|
||||
|
||||
double norm = 0.0;
|
||||
cvf::Vec3d pointOnLine = cvf::GeometryTools::projectPointOnLine(segmentStart, segmentEnd, globalIntersection, &norm);
|
||||
CVF_ASSERT(0.0 < norm && norm < 1.0);
|
||||
|
||||
cvf::Math::clamp(norm, 0.0, 1.0);
|
||||
|
||||
*firstSegmentIndex = segIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user