From 001a403a5e3db8440d47d01586150996db571166 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 17 Jul 2017 17:46:55 -0600 Subject: [PATCH] Fix a bug: Also catch the hp case in testing a policy pointer. --- source/dofs/dof_handler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.39.5