From 47f9573f3740fefa17626b3c58edade1f4d5cf3c Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 30 Apr 2004 15:30:01 +0000 Subject: [PATCH] Allow compilation also on the hp branch. git-svn-id: https://svn.dealii.org/trunk@9134 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-16/step-16.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/examples/step-16/step-16.cc b/deal.II/examples/step-16/step-16.cc index 12f76ff915..9a359625c8 100644 --- a/deal.II/examples/step-16/step-16.cc +++ b/deal.II/examples/step-16/step-16.cc @@ -139,7 +139,8 @@ void LaplaceProblem::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&>(mg_dof_handler), + sparsity_pattern); sparsity_pattern.compress(); system_matrix.reinit (sparsity_pattern); -- 2.39.5