]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bug 11812. Return nb of found hypothesis from GetHypotheses()
authoreap <eap@opencascade.com>
Tue, 7 Mar 2006 10:51:41 +0000 (10:51 +0000)
committereap <eap@opencascade.com>
Tue, 7 Mar 2006 10:51:41 +0000 (10:51 +0000)
src/SMESH/SMESH_Mesh.cxx

index e973b605a823c99b7049c0b370ff56a6c1039142..23c5041c787e8599077227603b55244d3e90454e 100644 (file)
@@ -585,7 +585,7 @@ int SMESH_Mesh::GetHypotheses(const TopoDS_Shape &                aSubShape,
         }
     }
   }
-  return !aHypList.empty();
+  return nbHyps;
 }
 
 //=============================================================================