Possible fix for #14334

This commit is contained in:
jonjenssen committed 2026-07-08 15:40:08 +02:00
1 parent 931c8d066c
commit f96c9354c1
1 file changed
+2 -3
@@ -105,9 +105,8 @@ double RigStimPlanModelTools::calculateAngleFromVertical( const cvf::Vec3d& dire
//--------------------------------------------------------------------------------------------------
double RigStimPlanModelTools::calculateFormationDipFromHorizontal( const cvf::Vec3d& direction )
{
// Convert from angle-with-vertical to angle-from-horizontal, and take abs since
// direction sign depends on fracture normal orientation.
return std::abs( calculateAngleFromVertical( direction ) - 90.0 );
// Convert from angle-with-vertical to angle-from-horizontal
return calculateAngleFromVertical( direction ) - 90.0;
}
//--------------------------------------------------------------------------------------------------