[MOAB-dev] r4207 - MOAB/trunk/tools/mbzoltan

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Oct 8 12:21:23 CDT 2010


Author: kraftche
Date: 2010-10-08 12:21:22 -0500 (Fri, 08 Oct 2010)
New Revision: 4207

Modified:
   MOAB/trunk/tools/mbzoltan/mbpart.cpp
Log:
fix bug

Modified: MOAB/trunk/tools/mbzoltan/mbpart.cpp
===================================================================
--- MOAB/trunk/tools/mbzoltan/mbpart.cpp	2010-10-07 22:04:52 UTC (rev 4206)
+++ MOAB/trunk/tools/mbzoltan/mbpart.cpp	2010-10-08 17:21:22 UTC (rev 4207)
@@ -124,7 +124,7 @@
     // interpret first numerical argument as number of parts
   for (i = 0; i < num_args; ++i) {
     char* endptr = 0;
-    long num_parts = strtol( args[i], &endptr, 0 );
+    num_parts = strtol( args[i], &endptr, 0 );
     if (!*endptr && num_parts > 0) 
       break;
   }








































More information about the moab-dev mailing list