X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FMEDFileField.txx;h=a6814f4b4fd7d5fd6aa564efba780df021f2898e;hb=3ccbd6672d4cab9ddd873774deb1276b43ccb621;hp=9201f12247f4ec054675d879ccbec4321677f8df;hpb=e4063d87dbb8dad309dc1880af096d521934cf24;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/MEDFileField.txx b/src/MEDLoader/MEDFileField.txx index 9201f1224..a6814f4b4 100644 --- a/src/MEDLoader/MEDFileField.txx +++ b/src/MEDLoader/MEDFileField.txx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D +// Copyright (C) 2007-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -197,6 +197,8 @@ namespace MEDCoupling _arr->setContigPartOfSelectedValuesSlice(start,zeArr,(*it).second.first,(*it).second.second,1); start+=(*it).second.second-(*it).second.first; } + // see definition of _nb_of_tuples_to_be_allocated. array is built from scratch and allocated. + _nb_of_tuples_to_be_allocated=-3; } template