X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2FMEDPARTITIONER_UserGraph.cxx;h=364f7e9f6ed49a503fe2f77e9cc58694cac2e6d9;hb=4b4c848900cf2fb2cd8cb585c6ff21c7d284b87b;hp=0a20b4c3db120371c6fd1cf6de31c1d958d7c660;hpb=bd238ae917aa20ba3fe2f7569883d619b7e4f7a9;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx b/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx index 0a20b4c3d..364f7e9f6 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -44,7 +44,7 @@ UserGraph::UserGraph(MEDCoupling::MEDCouplingSkyLineArray *array, const int *par value[i]=partition[i]; } - _partition = new MEDCoupling::MEDCouplingSkyLineArray(index,value); + _partition = MEDCoupling::MEDCouplingSkyLineArray::New(index,value); }