]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
Salome HOME
Task 2.5 Show where the remaining degrees of freedom are (issue #2997)
[modules/shaper.git] / src / SketchSolver / PlaneGCSSolver / PlaneGCSSolver_Solver.h
index e6c1b4ba5940c695c2653e270c1c704770ad3070..290136b25cec55f58eaacc0864ababe7afa8dbc1 100644 (file)
@@ -80,7 +80,7 @@ public:
   void diagnose(const GCS::Algorithm& theAlgo = GCS::DogLeg);
 
   /// \brief Return the list of modifiable parameters
-  void getFreeParameters(GCS::VEC_pD& theFreeParams) const;
+  void getFreeParameters(GCS::VEC_pD& theFreeParams);
 
   /// \brief Degrees of freedom
   int dof();
@@ -94,7 +94,7 @@ private:
   void removeFictiveConstraint();
 
 private:
-  typedef std::map<ConstraintID, std::set<GCSConstraintPtr> > ConstraintMap;
+  typedef std::map<ConstraintID, std::list<GCSConstraintPtr> > ConstraintMap;
 
   GCS::VEC_pD                  myParameters;     ///< list of unknowns
   ConstraintMap                myConstraints;    ///< list of constraints