]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update tria_boundary_lib.cc 1884/head
authorbarker29 <barker29@llnl.gov>
Wed, 18 Nov 2015 23:49:54 +0000 (15:49 -0800)
committerbarker29 <barker29@llnl.gov>
Wed, 18 Nov 2015 23:49:54 +0000 (15:49 -0800)
Bug fix to allow CylinderBoundary<2,3>

source/grid/tria_boundary_lib.cc

index a2faeb723a5ac267b760c7de1b7b03105ce1ba44..f31de3ad4c53ac779d3646b9c581aafbf02e3186 100644 (file)
@@ -51,7 +51,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 CylinderBoundary<dim,spacedim>::get_axis_vector (const unsigned int axis)
 {
-  Assert (axis < dim, ExcIndexRange (axis, 0, dim));
+  Assert (axis < spacedim, ExcIndexRange (axis, 0, spacedim));
 
   Point<spacedim> axis_vector;
   axis_vector[axis] = 1;

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.