From 26a6f6042263c2c5bc9bcfcb336aea6eb24ed543 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 2 Mar 2010 06:47:35 +0000 Subject: [PATCH] fix comment --- src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx b/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx index 464fc4c3e..5c0c5a613 100644 --- a/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx +++ b/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx @@ -410,7 +410,7 @@ namespace int nbBlocks = 0; while ( nbBlockSides >= 6 ) { - // get any side not bound to all blocks to belongs to + // get any side not bound to all blocks it belongs to sideIt = _allSides.begin(); while ( sideIt != _allSides.end() && sideIt->isBound()) ++sideIt; @@ -633,10 +633,7 @@ namespace gp_XYZ gc; for (int i = 0; i < B_UNDEFINED; ++i ) if ( block._side[ i ] ) - { gc += block._side[ i ]._side->getGC(); - nbLoadedSides++; - } gc /= nbLoadedSides; gp_XYZ p1 ( n1->X(),n1->Y(),n1->Z()), p2 (n2->X(),n2->Y(),n2->Z()); -- 2.39.2