Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / SketchSolver / SketchSolver_Solver.cpp
index be307be93dda2682dca7c54e645e03b9ea3f4285..40c76d1a772b5a863d13af4c711a1fe65ee8f6a3 100644 (file)
@@ -97,7 +97,7 @@ void SketchSolver_Solver::setConstraints(const std::vector<Slvs_Constraint>& the
     if (myEquationsSystem.failed)
       delete [] myEquationsSystem.failed;
     myEquationsSystem.failed = new Slvs_hConstraint[theConstraints.size()];
-    myEquationsSystem.faileds = 0;
+    myEquationsSystem.faileds = theConstraints.size();
   }
 
   // Copy data