[MOAB-dev] r5545 - MOAB/trunk/src

jvporter at wisc.edu jvporter at wisc.edu
Mon Jun 4 16:16:44 CDT 2012


Author: jvporter
Date: 2012-06-04 16:16:44 -0500 (Mon, 04 Jun 2012)
New Revision: 5545

Modified:
   MOAB/trunk/src/ScdInterface.cpp
Log:
Eliminate warning in parallel config


Modified: MOAB/trunk/src/ScdInterface.cpp
===================================================================
--- MOAB/trunk/src/ScdInterface.cpp	2012-06-04 21:04:04 UTC (rev 5544)
+++ MOAB/trunk/src/ScdInterface.cpp	2012-06-04 21:16:44 UTC (rev 5545)
@@ -765,7 +765,7 @@
   
   pto = -1;
   bdy_ind[0] = bdy_ind[1] = -1;
-  int pi, pj; // pi, pj: # procs in i, j directions
+  int pi(0), pj; // pi, pj: # procs in i, j directions
               // guess pi
   ErrorCode rval = compute_partition_sqij(np, nr, gdims, rdims, &pi);
   if (MB_SUCCESS != rval) return rval;








































More information about the moab-dev mailing list