From: eap Date: Fri, 8 Feb 2013 12:50:42 +0000 (+0000) Subject: 0021756: [CEA 602] MEDPartitioner improvements / X-Git-Tag: V6_main_FINAL~370 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=66ac8cebb0cc9a9b207d4bbcc21ead821025a8f3;p=tools%2Fmedcoupling.git 0021756: [CEA 602] MEDPartitioner improvements / --creates-boundary-faces is not a numeric argument --- diff --git a/src/MEDPartitioner/medpartitioner.cxx b/src/MEDPartitioner/medpartitioner.cxx index 15216df15..9dc2aad62 100644 --- a/src/MEDPartitioner/medpartitioner.cxx +++ b/src/MEDPartitioner/medpartitioner.cxx @@ -110,7 +110,7 @@ int main(int argc, char** argv) else if (TestArg(argv[i],"--output-file",value)) output=value; else if (TestArg(argv[i],"--split-method",value)) library=value; else if (TestArg(argv[i],"--ndomains",value)) ndomains=atoi(value.c_str()); - else if (TestArg(argv[i],"--creates-boundary-faces",value)) MyGlobals::_Creates_Boundary_Faces=atoi(value.c_str()); + else if (TestArg(argv[i],"--creates-boundary-faces",value)) MyGlobals::_Creates_Boundary_Faces=1; else if (TestArg(argv[i],"--dump-cpu-memory",value)) mesure_memory=true; else {