diff --git a/harmonicmaps-eoc.cc b/harmonicmaps-eoc.cc
index 1310a988aa0a28e961f8267f152a30c2ab5c3735..78e4ccd5c8228ff2691a3e108794471fb0b4f8d8 100644
--- a/harmonicmaps-eoc.cc
+++ b/harmonicmaps-eoc.cc
@@ -212,7 +212,7 @@ int main (int argc, char *argv[]) try
     std::ofstream logFile("harmonicmaps-eoc.results");
     logFile << "# vertices max-norm, L2-norm, h1-seminorm" << std::endl;
     
-    for (int i=1; i<=numLevels; i++) {
+    for (int i=1; i<numLevels; i++) {
 
         shared_ptr<GridType> grid;
         if (parameterSet.get<std::string>("gridType")=="structured") {