From: Peter Munch Date: Mon, 6 Jun 2022 09:58:47 +0000 (+0200) Subject: Work on warning X-Git-Tag: v9.4.0-rc1~66^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13911%2Fhead;p=dealii.git Work on warning --- diff --git a/source/dofs/dof_accessor_set.cc b/source/dofs/dof_accessor_set.cc index 10fa26a1be..726d0ea20c 100644 --- a/source/dofs/dof_accessor_set.cc +++ b/source/dofs/dof_accessor_set.cc @@ -52,6 +52,7 @@ DeclException2(ExcNonMatchingElementsSetDofValuesByInterpolation, namespace internal { +#ifdef DEBUG /** * In the set_dof_values(), we need to invoke abs() also on unsigned data * types, which is ill-formed on newer C++ standards. To avoid this, we use @@ -120,6 +121,7 @@ namespace internal { // serial vector: nothing to do } +#endif /** * Helper function that sets the values on a cell, but also checks if the