From 2398be52f55944889cede8c987ca9867cd5803d8 Mon Sep 17 00:00:00 2001
From: Jean-Paul Pelteret <jppelteret@gmail.com>
Date: Fri, 5 Oct 2018 17:37:13 +0200
Subject: [PATCH] Remove an unnecessary #ifdef

---
 include/deal.II/differentiation/ad/ad_helpers.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/deal.II/differentiation/ad/ad_helpers.h b/include/deal.II/differentiation/ad/ad_helpers.h
index 320a773cc7..4596bd386f 100644
--- a/include/deal.II/differentiation/ad/ad_helpers.h
+++ b/include/deal.II/differentiation/ad/ad_helpers.h
@@ -1356,13 +1356,11 @@ namespace Differentiation
         local_dof_indices.size() == this->n_independent_variables(),
         ExcMessage(
           "Degree-of-freedom index vector size does not match number of independent variables"));
-#    ifdef DEBUG
       for (unsigned int i = 0; i < this->n_independent_variables(); ++i)
         {
           Assert(this->registered_independent_variable_values[i] == false,
                  ExcMessage("Independent variables already registered."));
         }
-#    endif
       set_dof_values(values, local_dof_indices);
     }
 
-- 
2.39.5