]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
22808: EDF SMESH: Regression with 3D Extrusion/ViscousLayers in Salome V7_5_BR
authoreap <eap@opencascade.com>
Tue, 18 Nov 2014 10:08:18 +0000 (13:08 +0300)
committereap <eap@opencascade.com>
Tue, 18 Nov 2014 10:08:18 +0000 (13:08 +0300)
src/StdMeshers/StdMeshers_Prism_3D.cxx

index f473b36ba669529e1adf6d24060e7d1138c15df1..212ea62b8b6cc88a18b905f6c7e749d476998409 100644 (file)
@@ -2353,7 +2353,7 @@ bool StdMeshers_Prism_3D::isSimpleBottom( const Prism_3D::TPrismTopo& thePrism )
   TopoDS_Vertex commonV;
   const list< TopoDS_Edge >& botEdges = thePrism.myBottomEdges;
   list< TopoDS_Edge >::const_iterator edge = botEdges.begin();
-  for ( ; edge != botEdges.end(); ++edge )
+  while ( edge != botEdges.end() )
   {
     if ( SMESH_Algo::isDegenerated( *edge ))
       return false;