Salome HOME
NPAL16631: EDF281: Crash on update mesh if computation failed because of memory lack.
[modules/smesh.git] / src / SMESH / SMESH_Hypothesis.hxx
index 1b7146371e35b6d878c30aaf1d4279ff0a671541..802d47e58d83f2824f489de5ed2fe9a59202602a 100644 (file)
@@ -40,7 +40,7 @@ class SMESH_Hypothesis: public SMESHDS_Hypothesis
 public:
   enum Hypothesis_Status // in the order of severity
   {
-    HYP_OK,
+    HYP_OK = 0,
     HYP_MISSING,      // algo misses a hypothesis
     HYP_CONCURENT,    // several applicable hypotheses
     HYP_BAD_PARAMETER,// hypothesis has a bad parameter value