aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@ff385933-4943-42dc-877b-ffc776028de6>2012-10-23 21:10:38 +0000
committereschnett <eschnett@ff385933-4943-42dc-877b-ffc776028de6>2012-10-23 21:10:38 +0000
commitd3f1a47c862c49ef1e399fa71c35e8884d189c98 (patch)
tree103bd6e038a3d177a3c51df010620590ebdedcd0
parentfb1891c8282ee713840badffdf75dbc8e1a33f54 (diff)
Correct indexing error
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@110 ff385933-4943-42dc-877b-ffc776028de6
-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)