]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Stupid me: confusing DAInt with DAIdType
authorabn <adrien.bruneton@cea.fr>
Fri, 25 Sep 2020 12:20:42 +0000 (14:20 +0200)
committerabn <adrien.bruneton@cea.fr>
Fri, 25 Sep 2020 12:20:42 +0000 (14:20 +0200)
src/MEDLoader/Test/MEDLoaderTest.cxx

index 0884f5380acacffd529b60c2fac2c0ada346d5c1..6a7480ddf7796c08e25afff2efed827eb2382d08 100644 (file)
@@ -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();