From: Viktor UZLOV Date: Wed, 17 Feb 2021 09:33:09 +0000 (+0300) Subject: for SMESH 64bit X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1676029ca7572346e6ea20371feae1103300d10c;p=plugins%2Fhexablockplugin.git for SMESH 64bit --- diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx index 6c06915..6e506f7 100644 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx @@ -1526,7 +1526,7 @@ bool SMESH_HexaFromSkin_3D::Evaluate(SMESH_Mesh & aMesh, bool secondOrder = aMesh.NbFaces( ORDER_QUADRATIC ); int entity = secondOrder ? SMDSEntity_Quad_Hexa : SMDSEntity_Hexa; - std::vector& nbByType = aResMap[ aMesh.GetSubMesh( aShape )]; + std::vector& nbByType = aResMap[ aMesh.GetSubMesh( aShape )]; if ( entity >= nbByType.size() ) nbByType.resize( SMDSEntity_Last, 0 );