From: Wolfgang Bangerth Date: Mon, 17 Jul 2017 23:46:55 +0000 (-0600) Subject: Fix a bug: Also catch the hp case in testing a policy pointer. X-Git-Tag: v9.0.0-rc1~1407^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001a403a5e3db8440d47d01586150996db571166;p=dealii.git Fix a bug: Also catch the hp case in testing a policy pointer. --- diff --git a/source/dofs/dof_handler.cc b/source/dofs/dof_handler.cc index a43401817f..e066a8324d 100644 --- a/source/dofs/dof_handler.cc +++ b/source/dofs/dof_handler.cc @@ -72,7 +72,8 @@ namespace internal else if (dynamic_cast >*>(&policy) || dynamic_cast >*>(&policy)) policy_name = "Policy::ParallelDistributed<"; - else if (dynamic_cast >*>(&policy)) + else if (dynamic_cast >*>(&policy) + || dynamic_cast >*>(&policy)) policy_name = "Policy::ParallelShared<"; else AssertThrow(false, ExcNotImplemented());