From: abn Date: Fri, 25 Sep 2020 12:20:42 +0000 (+0200) Subject: Stupid me: confusing DAInt with DAIdType X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea9ac7b4afeb0376ddbabf4cba6c81f88cf07732;p=tools%2Fmedcoupling.git Stupid me: confusing DAInt with DAIdType --- diff --git a/src/MEDLoader/Test/MEDLoaderTest.cxx b/src/MEDLoader/Test/MEDLoaderTest.cxx index 0884f5380..6a7480ddf 100644 --- a/src/MEDLoader/Test/MEDLoaderTest.cxx +++ b/src/MEDLoader/Test/MEDLoaderTest.cxx @@ -1415,8 +1415,8 @@ MEDCouplingFieldInt *MEDLoaderTest::buildIntVecFieldOnCells_1() array->setInfoOnComponent(2,"val3 [K]"); f1->setArray(array); array->decrRef(); - mcIdType *tmp=array->getPointer(); - const mcIdType arr1[18]={0,10,20,1,11,21,2,12,22,3,13,23,4,14,24,5,15,25}; + int *tmp=array->getPointer(); + const int arr1[18]={0,10,20,1,11,21,2,12,22,3,13,23,4,14,24,5,15,25}; std::copy(arr1,arr1+18,tmp); f1->setTime(2.,0,1); f1->checkConsistencyLight();