From e2e91af0e587a51644055648e7ef9b76375bce75 Mon Sep 17 00:00:00 2001 From: David Wells Date: Fri, 27 Oct 2017 18:21:54 -0400 Subject: [PATCH] Fix a tensor index. --- source/grid/manifold.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 8590796ba4..5175500f25 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -537,7 +537,7 @@ get_new_point (const ArrayView> &surrounding_points, minP[d] = std::min(minP[d], surrounding_points[i][d]); Assert( (surrounding_points[i][d] < periodicity[d]+tolerance*periodicity[d]) || (surrounding_points[i][d] >= -tolerance*periodicity[d]), - ExcPeriodicBox(d, surrounding_points[i], periodicity[i])); + ExcPeriodicBox(d, surrounding_points[i], periodicity[d])); } // compute the weighted average point, possibly taking into account periodicity -- 2.39.5