From: eap Date: Thu, 28 Jan 2021 13:07:06 +0000 (+0300) Subject: bos #20646 [CEA] Fix error in polyhedron per solid on pentahedron X-Git-Tag: V9_7_0a1~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b586ea5065bb78c57dcaee29097c6fd8df52d1d0;p=modules%2Fsmesh.git bos #20646 [CEA] Fix error in polyhedron per solid on pentahedron --- diff --git a/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx b/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx index 5debedb31..b8e108958 100644 --- a/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx +++ b/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx @@ -299,10 +299,6 @@ namespace if ( hexa[1] == -1 ) return newHexPrism; - int iSide = hexa[0] + 1; - if ( iSide == hexa[1] ) - ++iSide; - const SMDS_MeshElement* botFace = faces[ hexa[ 0 ]]; const SMDS_MeshElement* topFace = faces[ hexa[ 1 ]]; std::vector< const SMDS_MeshNode* > nodes( 24 ); // last 12 is a working buffer