From 180b82cf535fe7d68e6b2ddcbd13e1d221539d07 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 11 Apr 2012 14:34:04 +0000 Subject: [PATCH] 0021540: [CEA] Internal test fails : prisms Fix FindMatchingNodesOnFaces() for spheres ( DeuxSpheres.py ) --- src/StdMeshers/StdMeshers_ProjectionUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx index bc497c74b..37e97eabe 100644 --- a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx +++ b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx @@ -1829,7 +1829,7 @@ FindMatchingNodesOnFaces( const TopoDS_Face& face1, notInSet.insert( f2 ); for ( int i = 0; i < nbNodes; ++i ) { const SMDS_MeshNode* n1 = faceToKeep->GetNode( i ); - const SMDS_MeshNode* n2 = faceToKeep->GetNode( i+1 % nbNodes ); + const SMDS_MeshNode* n2 = faceToKeep->GetNode(( i+1 ) % nbNodes ); f1 = SMESH_MeshEditor::FindFaceInSet( n1, n2, inSet, notInSet ); if ( f1 ) elems.insert( f1 ); -- 2.30.2