]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid trouble with old gcc versions.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 10 Sep 2006 12:47:09 +0000 (12:47 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 10 Sep 2006 12:47:09 +0000 (12:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@13887 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-24/step-24.cc

index a58257175eb7b6d0ee1acce7118df7a6da8f58bd..2ad21b7c8a1c5ba491e3695a0fdb3ec8c302843b 100644 (file)
@@ -310,8 +310,9 @@ TATForwardProblem<dim>::TATForwardProblem ()
 template <int dim>
 void TATForwardProblem<dim>::setup_system ()
 {
-  GridGenerator::hyper_ball (triangulation, Point<dim>(), 1.);
-  static const HyperBallBoundary<dim> boundary_description (Point<dim>(), 1.);
+  const Point<dim> center;
+  GridGenerator::hyper_ball (triangulation, center, 1.);
+  static const HyperBallBoundary<dim> boundary_description (center, 1.);
   triangulation.set_boundary (0,boundary_description);
   triangulation.refine_global (7);
 

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.