From: abn Date: Tue, 20 Mar 2018 14:34:16 +0000 (+0100) Subject: Minor bug fix on conformize3D() X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=350b1e57391a77136fde05e601ac756a3851e9d9;p=tools%2Fmedcoupling.git Minor bug fix on conformize3D() --- diff --git a/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx b/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx index 649d2aac4..5ff5f27bb 100644 --- a/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx @@ -2130,6 +2130,7 @@ DataArrayInt *MEDCouplingUMesh::conformize3D(double eps) MCAuto connSla(MEDCouplingSkyLineArray::BuildFromPolyhedronConn(getNodalConnectivity(), getNodalConnectivityIndex())); const double * coo(_coords->begin()); MCAuto ret(DataArrayInt::New()); + ret->alloc(0,1); // by default, nothing to store. { /*************************