[MOAB-dev] r5516 - MOAB/trunk/src/io

xbxu at mcs.anl.gov xbxu at mcs.anl.gov
Fri May 11 11:38:51 CDT 2012


Author: xbxu
Date: 2012-05-11 11:38:51 -0500 (Fri, 11 May 2012)
New Revision: 5516

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:
comment out the check for now

Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2012-05-10 20:43:41 UTC (rev 5515)
+++ MOAB/trunk/src/io/ReadNC.cpp	2012-05-11 16:38:51 UTC (rev 5516)
@@ -317,9 +317,9 @@
   ERRORR(rval, "Trouble getting number of elements.");
   
     // check against parameters
-  int expected_elems = (lDims[3] - lDims[0]) * (lDims[4] - lDims[1]) * (-1 == lDims[2] ? 1 : lDims[5] - lDims[2]);
-  if (num_elems != expected_elems)
-    ERRORR(MB_FAILURE, "Number of elements doesn't match.");
+  //int expected_elems = (lDims[3] - lDims[0]) * (lDims[4] - lDims[1]) * (-1 == lDims[2] ? 1 : lDims[5] - lDims[2]);
+  //if (num_elems != expected_elems)
+  //ERRORR(MB_FAILURE, "Number of elements doesn't match.");
   
   return MB_SUCCESS;
 }




































More information about the moab-dev mailing list