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

iulian at mcs.anl.gov iulian at mcs.anl.gov
Wed Dec 5 22:16:43 CST 2012


Author: iulian
Date: 2012-12-05 22:16:43 -0600 (Wed, 05 Dec 2012)
New Revision: 5900

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:
typo in a for loop



Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2012-12-06 00:13:22 UTC (rev 5899)
+++ MOAB/trunk/src/io/ReadNC.cpp	2012-12-06 04:16:43 UTC (rev 5900)
@@ -2772,7 +2772,7 @@
       char posval[10];
       int success = NCFUNC(get_att_text)(fileId, (*vmit).second.varId, "positive", posval);
       if (0 == success && !strcmp(posval, "down")) {
-        for (std::vector<double>::iterator dvit = klVals.begin(); dvit != klVals.end(); vit++)
+        for (std::vector<double>::iterator dvit = klVals.begin(); dvit != klVals.end(); dvit++)
           (*dvit) *= -1.0;
       }
     }



More information about the moab-dev mailing list