From: azv Date: Thu, 30 Jan 2020 14:08:02 +0000 (+0300) Subject: Fix regression (hang up) in unit-test for elliptic arc movement. X-Git-Tag: V9_5_0a1~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f3ead21ac42b6f53ebc73a399b8bd367816544f;p=modules%2Fshaper.git Fix regression (hang up) in unit-test for elliptic arc movement. --- diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h index 846db6d21..2604d1541 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h @@ -104,7 +104,7 @@ namespace PlaneGCSSolver_Tools /// \brief Update value in theDest if theSource is differ more than theTolerance /// \return \c true if the value was updated. bool updateValue(const double& theSource, double& theDest, - const double theTolerance = 1.e-4 * tolerance); + const double theTolerance = 1.e4 * tolerance); double distance(const GCS::Point& thePnt1, const GCS::Point& thePnt2);