]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warnings in ad_drivers.h 7348/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 13 Oct 2018 22:24:10 +0000 (00:24 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 13 Oct 2018 22:24:10 +0000 (00:24 +0200)
include/deal.II/differentiation/ad/ad_drivers.h

index 45a8015d4ffebc65497fa433f654ef907af2b86d..2e0a8a9dc8e8e7870f0c16a5e97434ebd6297664 100644 (file)
@@ -1264,8 +1264,7 @@ namespace Differentiation
       }
 
       bool
-      is_registered_tape(
-        const typename Types<ADNumberType>::tape_index tape_index) const
+      is_registered_tape(const typename Types<ADNumberType>::tape_index) const
       {
         AssertThrow(false, ExcRequiresADOLC());
         return false;
@@ -1306,7 +1305,7 @@ namespace Differentiation
       }
 
       void
-      print(std::ostream &stream) const
+      print(std::ostream &) const
       {
         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.