From: eap Date: Wed, 11 Apr 2012 14:34:04 +0000 (+0000) Subject: 0021540: [CEA] Internal test fails : prisms X-Git-Tag: V6_5_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=180b82cf535fe7d68e6b2ddcbd13e1d221539d07;p=modules%2Fsmesh.git 0021540: [CEA] Internal test fails : prisms Fix FindMatchingNodesOnFaces() for spheres ( DeuxSpheres.py ) --- 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 );