mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
3D Well path plots: clean up some indentation and remove an unnecessary epsilon
This commit is contained in:
@@ -138,7 +138,7 @@ cvf::Vec3d RigWellPathGeometryTools::estimateDominantDirectionInXYPlane(const Ri
|
||||
{
|
||||
cvf::Vec3d vec = points[i] - points[i - 1];
|
||||
vec.z() = 0.0;
|
||||
if (directionSum.length() > 0.0 && (directionSum * vec) < std::numeric_limits<double>::epsilon())
|
||||
if (directionSum.length() > 0.0 && (directionSum * vec) < 0.0)
|
||||
{
|
||||
vec *= -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user