]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
0021756: [CEA 602] MEDPartitioner improvements /
authoreap <eap@opencascade.com>
Fri, 8 Feb 2013 12:50:42 +0000 (12:50 +0000)
committereap <eap@opencascade.com>
Fri, 8 Feb 2013 12:50:42 +0000 (12:50 +0000)
--creates-boundary-faces is not a numeric argument

src/MEDPartitioner/medpartitioner.cxx

index 15216df156de46d3957ecc50b0034f30a22f4fb6..9dc2aad62ea71cd21e6ebb1cae6c64f423c40942 100644 (file)
@@ -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 
         {