From 776515cdffeb57dedd202a6d2a8690d8c1de9fb1 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 2 Aug 2021 11:28:51 +0200 Subject: [PATCH] A l'aggregation on indique que l instance generee est decouplee de toute lecture de fichier --- src/MEDLoader/MEDFileField.txx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MEDLoader/MEDFileField.txx b/src/MEDLoader/MEDFileField.txx index 27af13f7f..5c34ec86d 100644 --- a/src/MEDLoader/MEDFileField.txx +++ b/src/MEDLoader/MEDFileField.txx @@ -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 -- 2.39.2