From: azv Date: Mon, 20 Mar 2017 08:34:16 +0000 (+0300) Subject: Fix compilation problem on Linux X-Git-Tag: V_2.7.0~212 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea8da495560935564fc28801393c3b1ee34ad5fd;p=modules%2Fshaper.git Fix compilation problem on Linux --- diff --git a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp index 791de4cc2..709d09185 100644 --- a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp @@ -279,7 +279,7 @@ static void adjustAngleBetweenCurves(const GCSCurvePtr& theCurve1, const GCSPointPtr& thePoint, double* theAngle) { - double anAngle = GCS::System::calculateAngleViaPoint(*theCurve1, *theCurve2, *thePoint); + double anAngle = GCS::System().calculateAngleViaPoint(*theCurve1, *theCurve2, *thePoint); // bring angle to [-pi..pi] if (anAngle > PI) anAngle -= 2.0 * PI; if (anAngle < -PI) anAngle += 2.0 * PI;