From acb753ba9ae8e066390e76721ffe3c89857cf8fb Mon Sep 17 00:00:00 2001 From: barker29 Date: Wed, 18 Nov 2015 15:49:54 -0800 Subject: [PATCH] Update tria_boundary_lib.cc Bug fix to allow CylinderBoundary<2,3> --- source/grid/tria_boundary_lib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/tria_boundary_lib.cc b/source/grid/tria_boundary_lib.cc index a2faeb723a..f31de3ad4c 100644 --- a/source/grid/tria_boundary_lib.cc +++ b/source/grid/tria_boundary_lib.cc @@ -51,7 +51,7 @@ template Point CylinderBoundary::get_axis_vector (const unsigned int axis) { - Assert (axis < dim, ExcIndexRange (axis, 0, dim)); + Assert (axis < spacedim, ExcIndexRange (axis, 0, spacedim)); Point axis_vector; axis_vector[axis] = 1; -- 2.39.5