From ed91b5918bc65fc3bb6a92a97d622364dd078933 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 9 Apr 2015 16:29:38 +0300 Subject: [PATCH] Small correction. --- src/SketchSolver/SketchSolver_ConstraintRigid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchSolver/SketchSolver_ConstraintRigid.cpp b/src/SketchSolver/SketchSolver_ConstraintRigid.cpp index 39e6f93ee..956f4b727 100644 --- a/src/SketchSolver/SketchSolver_ConstraintRigid.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintRigid.cpp @@ -234,7 +234,7 @@ void SketchSolver_ConstraintRigid::fixArc(const Slvs_Entity& theArc) bool isExists = false; std::list aDiamConstraints = myStorage->getConstraintsByType(SLVS_C_DIAMETER); std::list::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) { -- 2.39.2