From: bangerth Date: Fri, 18 Dec 2009 13:49:39 +0000 (+0000) Subject: Make things useful in 2d as well. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e08fc8daa1337f08231b7f8fb5a24ff50769ace4;p=dealii-svn.git Make things useful in 2d as well. git-svn-id: https://svn.dealii.org/trunk@20255 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-22/doc/results.dox b/deal.II/examples/step-22/doc/results.dox index 3162dda646..5efaadbaac 100644 --- a/deal.II/examples/step-22/doc/results.dox +++ b/deal.II/examples/step-22/doc/results.dox @@ -779,7 +779,8 @@ $[-2,2]\times[-2,2]\times[-1,0]$ @code std::vector subdivisions (dim, 1); subdivisions[0] = 4; - subdivisions[1] = 4; + if (dim>2) + subdivisions[1] = 4; const Point bottom_left = (dim == 2 ? Point(-2,-1) :