]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix some dimension-dependentness.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Sep 2003 14:24:12 +0000 (14:24 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Sep 2003 14:24:12 +0000 (14:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@8002 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 1cb8e6d909eda483c00292355ff6dcb439545081..3bd1efa41f43b28c704fe8e8d16c87b5aec6eda2 100644 (file)
@@ -2647,8 +2647,8 @@ namespace LaplaceSolver
   WeightedResidual<dim>::solve_problem ()
   {
     Threads::ThreadGroup<> threads;
-    threads += Threads::spawn (*this, &WeightedResidual<2>::solve_primal_problem)();
-    threads += Threads::spawn (*this, &WeightedResidual<2>::solve_dual_problem)();
+    threads += Threads::spawn (*this, &WeightedResidual<dim>::solve_primal_problem)();
+    threads += Threads::spawn (*this, &WeightedResidual<dim>::solve_dual_problem)();
     threads.join_all ();
   }
 

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.