From e08fc8daa1337f08231b7f8fb5a24ff50769ace4 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 18 Dec 2009 13:49:39 +0000 Subject: [PATCH] Make things useful in 2d as well. git-svn-id: https://svn.dealii.org/trunk@20255 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-22/doc/results.dox | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) : -- 2.39.5