]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unnecessary #ifdef
authorJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 5 Oct 2018 15:37:13 +0000 (17:37 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 6 Oct 2018 09:49:41 +0000 (11:49 +0200)
include/deal.II/differentiation/ad/ad_helpers.h

index 320a773cc72d2f3f14f0c8486a9c05fea78e33b5..4596bd386ff82032a040896223d51d1b68a9083a 100644 (file)
@@ -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);
     }
 

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.