From: barker29 Date: Wed, 18 Nov 2015 23:49:54 +0000 (-0800) Subject: Update tria_boundary_lib.cc X-Git-Tag: v8.4.0-rc2~217^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb753ba9ae8e066390e76721ffe3c89857cf8fb;p=dealii.git Update tria_boundary_lib.cc Bug fix to allow CylinderBoundary<2,3> --- 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;