From: wolf Date: Fri, 30 Apr 2004 15:30:01 +0000 (+0000) Subject: Allow compilation also on the hp branch. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f9573f3740fefa17626b3c58edade1f4d5cf3c;p=dealii-svn.git Allow compilation also on the hp branch. git-svn-id: https://svn.dealii.org/trunk@9134 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);