From: eap Date: Tue, 7 Mar 2006 10:51:41 +0000 (+0000) Subject: bug 11812. Return nb of found hypothesis from GetHypotheses() X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=79a81f34450def8e430ede05658eca1f500647b7;p=modules%2Fsmesh.git bug 11812. Return nb of found hypothesis from GetHypotheses() --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index e973b605a..23c5041c7 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -585,7 +585,7 @@ int SMESH_Mesh::GetHypotheses(const TopoDS_Shape & aSubShape, } } } - return !aHypList.empty(); + return nbHyps; } //=============================================================================