aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/NaNCheck.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NaNCheck.cc b/src/NaNCheck.cc
index c46ec7d..3203cab 100644
--- a/src/NaNCheck.cc
+++ b/src/NaNCheck.cc
@@ -637,7 +637,7 @@ void PrintWarning (const char *error_type,
{
coord_buf << /* "%5.3e" */ coords[i][linear_index];
}
- amended_index /= gdata->lsh[i - 1];
+ amended_index /= gdata->lsh[i];
}
if (coords)