]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning about unused variable in configure_tapeless_mode 7128/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 28 Aug 2018 10:16:41 +0000 (12:16 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 28 Aug 2018 10:20:00 +0000 (12:20 +0200)
include/deal.II/differentiation/ad/ad_drivers.h

index d5711c6ebdf7c854fcf94b2adf4c913c47005d2d..fa32e3eb68d503d1dc29e9ccd1f6f66a78e2b334 100644 (file)
@@ -1273,7 +1273,7 @@ namespace Differentiation
       template <typename ADNumberType>
       typename std::enable_if<ADNumberTraits<ADNumberType>::type_code ==
                               NumberTypes::adolc_tapeless>::type
-      configure_tapeless_mode(const unsigned int n_directional_derivatives)
+      configure_tapeless_mode(const unsigned int /*n_directional_derivatives*/)
       {
         AssertThrow(false, ExcRequiresAdolC());
       }

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.