]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Small correction.
authornds <natalia.donis@opencascade.com>
Thu, 9 Apr 2015 13:29:38 +0000 (16:29 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 9 Apr 2015 13:29:38 +0000 (16:29 +0300)
src/SketchSolver/SketchSolver_ConstraintRigid.cpp

index 39e6f93eeb2be2bb1fac7759b1c42ecd8693d041..956f4b727549d5a33923878541ecd3d42997d04b 100644 (file)
@@ -234,7 +234,7 @@ void SketchSolver_ConstraintRigid::fixArc(const Slvs_Entity& theArc)
   bool isExists = false;
   std::list<Slvs_Constraint> aDiamConstraints = myStorage->getConstraintsByType(SLVS_C_DIAMETER);
   std::list<Slvs_Constraint>::iterator anIt = aDiamConstraints.begin();
-  for (; anIt != aDiamConstraints.end() && !isExists; anIt)
+  for (; anIt != aDiamConstraints.end() && !isExists; anIt++)
     if (anIt->entityA == myFeatureMap.begin()->second)
       isExists = true;
   if (!isExists) {