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 f473b36..212ea62 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;