Salome HOME
MEDCoupling API renaming - stage #2
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingUMesh.cxx
index ff320449fbfe1b0897df7b2d2d8791eee51e6d29..0bfd7174deca5bf4233ac4a80dab461701738372 100644 (file)
@@ -1932,7 +1932,7 @@ bool MEDCouplingUMesh::areCellsIncludedIn(const MEDCouplingUMesh *other, int com
       throw INTERP_KERNEL::Exception(oss.str().c_str());
     }
   MCAuto<DataArrayInt> o2n=mesh->zipConnectivityTraducer(compType,nbOfCells);
-  arr=o2n->substr(nbOfCells);
+  arr=o2n->subArray(nbOfCells);
   arr->setName(other->getName());
   int tmp;
   if(other->getNumberOfCells()==0)