Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintGroup.cpp
index 6a6fe158e47ef4e8f06eb711ae9d1876c381eaa5..3cb51724764bb3d49f163e25583e4cb04aa9a209 100644 (file)
 /// Tolerance for value of parameters
 const double tolerance = 1.e-10;
 
-/*
+/**
  * Collects all sketch solver error' codes
  * as inline static functions
- * TODO: Move this class into a separate file
  */
+ // TODO: Move this class into a separate file
 class SketchSolver_Error
 {
  public:
@@ -904,7 +904,7 @@ bool SketchSolver_ConstraintGroup::resolveConstraints()
         updateRelatedConstraints(anEntIter->first);
     }
     // unblock all features then
-    for (; anEntIter != myEntityAttrMap.end(); anEntIter++) {
+    for (anEntIter = myEntityAttrMap.begin(); anEntIter != myEntityAttrMap.end(); anEntIter++) {
       if (anEntIter->first->owner().get() && anEntIter->first->owner()->data().get())
         anEntIter->first->owner()->data()->blockSendAttributeUpdated(false);
     }