]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Minor bug fix on conformize3D()
authorabn <adrien.bruneton@cea.fr>
Tue, 20 Mar 2018 14:34:16 +0000 (15:34 +0100)
committerabn <adrien.bruneton@cea.fr>
Tue, 20 Mar 2018 14:34:16 +0000 (15:34 +0100)
src/MEDCoupling/MEDCouplingUMesh_intersection.cxx

index 649d2aac44b75f9b67391ebbf8e9595d16a36571..5ff5f27bbe8d7ea4c65fab2dd417cbc4ca6a3d43 100644 (file)
@@ -2130,6 +2130,7 @@ DataArrayInt *MEDCouplingUMesh::conformize3D(double eps)
   MCAuto<MEDCouplingSkyLineArray> connSla(MEDCouplingSkyLineArray::BuildFromPolyhedronConn(getNodalConnectivity(), getNodalConnectivityIndex()));
   const double * coo(_coords->begin());
   MCAuto<DataArrayInt> ret(DataArrayInt::New());
+  ret->alloc(0,1); // by default, nothing to store.
 
   {
     /*************************