From: Marc Fehling Date: Thu, 22 Jul 2021 19:43:14 +0000 (-0500) Subject: Intel18 does not like assertions in nested lambdas. X-Git-Tag: v9.4.0-rc1~1127^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12591%2Fhead;p=dealii.git Intel18 does not like assertions in nested lambdas. --- 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