]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow compilation also on the hp branch.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Apr 2004 15:30:01 +0000 (15:30 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Apr 2004 15:30:01 +0000 (15:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@9134 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 12f76ff915cf1f0f1cccdb83023d21d54a48bfb6..9a359625c8125990d93b28a7523433b7920b7bcf 100644 (file)
@@ -139,7 +139,8 @@ void LaplaceProblem<dim>::setup_system ()
   sparsity_pattern.reinit (mg_dof_handler.n_dofs(),
                           mg_dof_handler.n_dofs(),
                           mg_dof_handler.max_couplings_between_dofs());
-  DoFTools::make_sparsity_pattern (mg_dof_handler, sparsity_pattern);
+  DoFTools::make_sparsity_pattern (static_cast<const DoFHandler<dim>&>(mg_dof_handler),
+                                   sparsity_pattern);
   sparsity_pattern.compress();
 
   system_matrix.reinit (sparsity_pattern);

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.