]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Intel18 does not like assertions in nested lambdas. 12591/head
authorMarc Fehling <mafehling.git@gmail.com>
Thu, 22 Jul 2021 19:43:14 +0000 (14:43 -0500)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 22 Jul 2021 19:43:14 +0000 (14:43 -0500)
source/dofs/dof_handler_policy.cc

index d765010405a215405234aef52c7c522b2c00bb06..3988e60c0c5192d28a33b64d2aad7df2762a5f19 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.