[MOAB-dev] r4948 - MOAB/trunk/src/io
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Mon Jun 6 10:12:57 CDT 2011
Author: tautges
Date: 2011-06-06 10:12:57 -0500 (Mon, 06 Jun 2011)
New Revision: 4948
Modified:
MOAB/trunk/src/io/ReadNC.cpp
Log:
Fixing the broken reader test, sorry everyone.
Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp 2011-06-06 04:42:38 UTC (rev 4947)
+++ MOAB/trunk/src/io/ReadNC.cpp 2011-06-06 15:12:57 UTC (rev 4948)
@@ -221,7 +221,9 @@
isParallel = (rval != MB_ENTITY_NOT_FOUND);
- if (!isParallel) return rval;
+ if (!isParallel)
+ // return success here, since rval still has _NOT_FOUND from not finding option
+ return MB_SUCCESS;
int pcomm_no = 0;
rval = opts.get_int_option("PARALLEL_COMM", pcomm_no);
More information about the moab-dev
mailing list