From: Jean-Paul Pelteret Date: Fri, 5 Oct 2018 15:37:13 +0000 (+0200) Subject: Remove an unnecessary #ifdef X-Git-Tag: v9.1.0-rc1~630^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2398be52f55944889cede8c987ca9867cd5803d8;p=dealii.git Remove an unnecessary #ifdef --- 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); }