From ef2c092b6b4687551a7d99c3811659ea9f19a784 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Thu, 22 Jul 2021 14:43:14 -0500 Subject: [PATCH] Intel18 does not like assertions in nested lambdas. --- source/dofs/dof_handler_policy.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index d765010405..3988e60c0c 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -3689,9 +3689,11 @@ namespace internal [&complete](auto &stored_index, auto &received_index) { if (received_index != numbers::invalid_dof_index) { +# if !defined(__INTEL_COMPILER) || __INTEL_COMPILER >= 1900 Assert((stored_index == (numbers::invalid_dof_index)) || (stored_index == received_index), ExcInternalError()); +# endif stored_index = received_index; } else -- 2.39.5