From da966d68cc54b877d67ded7c1da1dc7ed7235686 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Jun 2006 08:48:27 +0000 Subject: [PATCH] fix for PAL12560. Add missing offset increment in writeFamilyNumbers() --- src/MEDMEM/MEDMEM_MedMeshDriver22.cxx | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2