]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
A l'aggregation on indique que l instance generee est decouplee de toute lecture... agy/edf23738_mix_struc_el
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 2 Aug 2021 09:28:51 +0000 (11:28 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 2 Aug 2021 09:28:51 +0000 (11:28 +0200)
src/MEDLoader/MEDFileField.txx

index 27af13f7f2f921807e7a8ff2d15866ab7d4afd83..5c34ec86d4aa2bf065f3a3522dc20e9f1b5118de 100644 (file)
@@ -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<class T>