From: eap Date: Wed, 7 Jun 2006 08:48:27 +0000 (+0000) Subject: fix for PAL12560. Add missing offset increment in writeFamilyNumbers() X-Git-Tag: V3_2_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=da966d68cc54b877d67ded7c1da1dc7ed7235686;p=modules%2Fmed.git fix for PAL12560. Add missing offset increment in writeFamilyNumbers() --- diff --git a/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx b/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx index 829e28ab3..09f171d38 100644 --- a/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx +++ b/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx @@ -2845,6 +2845,7 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const { throw MEDEXCEPTION(LOCALIZED(STRING(LOC) << "Can't write family for the |"<< _ptrMesh->getNumberOfElements(entity, types[i]) << "| cells of geometric type |" << geoNames[types[i]] <<"|in mesh |" << _ptrMesh->_name.c_str() << "|" )); + offset+=typeNumberOfElements; } //CCRT Clutter //CCRT#if defined(IRIX64) || defined(OSF1) || defined(VPP5000)