]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Updated for IPAL19826.
authorskl <skl@opencascade.com>
Tue, 27 May 2008 06:13:26 +0000 (06:13 +0000)
committerskl <skl@opencascade.com>
Tue, 27 May 2008 06:13:26 +0000 (06:13 +0000)
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx

index 52254d698077bfe1e70006d499089e8dadc6b4dc..3892ddc9be97f7cdc1d523da44766307809d91f4 100644 (file)
@@ -810,6 +810,9 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh)
   // check intersections between created pyramids
   int NbPyram = myMapFPyram.size();
   //cout<<"NbPyram = "<<NbPyram<<endl;
+  if(NbPyram==0)
+    return true;
+
   std::vector< const SMDS_MeshElement* > Pyrams(NbPyram);
   std::vector< const SMDS_MeshElement* > Faces(NbPyram);
   std::map< const SMDS_MeshElement*,