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

tautges at mcs.anl.gov tautges at mcs.anl.gov
Thu Nov 18 11:45:53 CST 2010


Author: tautges
Date: 2010-11-18 11:45:53 -0600 (Thu, 18 Nov 2010)
New Revision: 4276

Modified:
   MOAB/trunk/tools/mbzoltan/mbpart.cpp
Log:
Fixed input processing error.  Thanks Rao.




Modified: MOAB/trunk/tools/mbzoltan/mbpart.cpp
===================================================================
--- MOAB/trunk/tools/mbzoltan/mbpart.cpp	2010-11-18 16:44:23 UTC (rev 4275)
+++ MOAB/trunk/tools/mbzoltan/mbpart.cpp	2010-11-18 17:45:53 UTC (rev 4276)
@@ -247,6 +247,8 @@
     if (power > 1)
         // append num_parts to output filename
       tmp_output_file << output_file << "_" << num_parts << ".h5m";
+    else
+      tmp_output_file << output_file;
 
     rval = mb.write_file( tmp_output_file.str().c_str() );
     if (MB_SUCCESS != rval) {








































More information about the moab-dev mailing list