From 69432d5cbc4018d8de8c4cbf56601a9766935d1e Mon Sep 17 00:00:00 2001
From: Peter Munch <peterrmuench@gmail.com>
Date: Mon, 6 Jun 2022 11:58:47 +0200
Subject: [PATCH] Work on warning

---
 source/dofs/dof_accessor_set.cc | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.39.5