From: David Wells Date: Fri, 27 Oct 2017 22:21:54 +0000 (-0400) Subject: Fix a tensor index. X-Git-Tag: v9.0.0-rc1~861^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2e91af0e587a51644055648e7ef9b76375bce75;p=dealii.git Fix a tensor index. --- 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