]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a tensor index. 5344/head
authorDavid Wells <wellsd2@rpi.edu>
Fri, 27 Oct 2017 22:21:54 +0000 (18:21 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 27 Oct 2017 22:21:54 +0000 (18:21 -0400)
source/grid/manifold.cc

index 8590796ba4c47852c4be9d497c2cb34670572830..5175500f25bb442685244b63d117eac74a4c47b3 100644 (file)
@@ -537,7 +537,7 @@ get_new_point (const ArrayView<const Point<spacedim>> &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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.