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

iulian at mcs.anl.gov iulian at mcs.anl.gov
Wed Nov 21 14:57:12 CST 2012


Author: iulian
Date: 2012-11-21 14:57:12 -0600 (Wed, 21 Nov 2012)
New Revision: 5882

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:

forgot to initialize location for the dummy varInfo entry


Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2012-11-21 16:46:25 UTC (rev 5881)
+++ MOAB/trunk/src/io/ReadNC.cpp	2012-11-21 20:57:12 UTC (rev 5882)
@@ -3063,6 +3063,7 @@
     data.varDims.resize(1);
     data.varDims[0]= (int)i;
     data.numAtts=0;
+    data.entLoc = ENTLOCSET;
     dbgOut.tprintf(2, "Dummy varInfo created for dimension %s\n", dimNames[i].c_str());
     std::cout<<"dummy varInfo created for dimension "<< dimNames[i] << "\n";
     dummyVarNames.insert(dimNames[i]);



More information about the moab-dev mailing list