]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work on warning 13911/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 6 Jun 2022 09:58:47 +0000 (11:58 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 6 Jun 2022 09:58:47 +0000 (11:58 +0200)
source/dofs/dof_accessor_set.cc

index 10fa26a1be77279baa8db79fa7d716f1ed2d4e30..726d0ea20cc879521689aa2e10d224959ef9ee57 100644 (file)
@@ -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

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.