From b586ea5065bb78c57dcaee29097c6fd8df52d1d0 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 28 Jan 2021 16:07:06 +0300 Subject: [PATCH] bos #20646 [CEA] Fix error in polyhedron per solid on pentahedron --- src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.39.2