[MOAB-dev] r1514 - MOAB/trunk/parallel
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Wed Jan 9 16:05:06 CST 2008
Author: tautges
Date: 2008-01-09 16:05:06 -0600 (Wed, 09 Jan 2008)
New Revision: 1514
Modified:
MOAB/trunk/parallel/ReadParallel.cpp
Log:
Initializing times array.
Modified: MOAB/trunk/parallel/ReadParallel.cpp
===================================================================
--- MOAB/trunk/parallel/ReadParallel.cpp 2008-01-09 21:53:59 UTC (rev 1513)
+++ MOAB/trunk/parallel/ReadParallel.cpp 2008-01-09 22:05:06 UTC (rev 1514)
@@ -157,7 +157,8 @@
int tag_val, *tag_val_ptr = &tag_val;
MBCore *impl = dynamic_cast<MBCore*>(mbImpl);
- double act_times[10], stime = 0.0;
+ double act_times[10] = {0.0};
+ double stime = 0.0;
if (cputime) stime = MPI_Wtime();
for (std::vector<int>::iterator vit = pa_vec.begin();
More information about the moab-dev
mailing list