From: ageay Date: Fri, 1 Feb 2013 08:42:47 +0000 (+0000) Subject: Bug correction in MEDCouplingUMesh::ComputeSpreadZoneGradually when a cell has no... X-Git-Tag: V6_main_FINAL~401 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=23a463a5dc088d43593cc33c32cb134b88febaef;p=tools%2Fmedcoupling.git Bug correction in MEDCouplingUMesh::ComputeSpreadZoneGradually when a cell has no neighbours. --- diff --git a/src/MEDCoupling/MEDCouplingUMesh.cxx b/src/MEDCoupling/MEDCouplingUMesh.cxx index 232527ea8..911add3d3 100644 --- a/src/MEDCoupling/MEDCouplingUMesh.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh.cxx @@ -7643,7 +7643,7 @@ DataArrayInt *MEDCouplingUMesh::ComputeSpreadZoneGradually(const DataArrayInt *a const int *arrIndxPtr=arrIndxIn->getConstPointer(); MEDCouplingAutoRefCountObjectPtr arro=DataArrayInt::New(); arro->alloc(nbOfTuples,1); - arro->fillWithValue(-1); + arro->fillWithValue(-1); arro->setIJ(0,0,1); int *arroPtr=arro->getPointer(); std::set s; s.insert(0); while(!s.empty())