]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2271: Check conflict each time the set of constraints is being solved.
authorazv <azv@opencascade.com>
Mon, 9 Oct 2017 09:19:08 +0000 (12:19 +0300)
committerazv <azv@opencascade.com>
Mon, 9 Oct 2017 09:19:53 +0000 (12:19 +0300)
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp

index 75919af5f55a50f941f15f9e7d1ad41bf7253261..b8d0dfe00d2a0c9e33c18545128b085786564401 100644 (file)
@@ -139,9 +139,7 @@ PlaneGCSSolver_Solver::SolveStatus PlaneGCSSolver_Solver::solve()
     aResult = (GCS::SolveStatus)myEquationSystem->solve();
   } else {
     addFictiveConstraintIfNecessary();
-
-    if (myDiagnoseBeforeSolve)
-      diagnose();
+    diagnose();
     aResult = (GCS::SolveStatus)myEquationSystem->solve(myParameters);
   }
   Events_LongOp::end(this);