]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a header to numbers.h to satisfy the testsuite
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sun, 29 Apr 2018 09:09:04 +0000 (11:09 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sun, 29 Apr 2018 09:09:04 +0000 (11:09 +0200)
include/deal.II/base/numbers.h

index d8c4a01cc7479ab3a040f0bedfcf6ec4d8a71cc8..a49941dd69753723299800a9aa6db3d9677b1be2 100644 (file)
@@ -41,7 +41,10 @@ DEAL_II_NAMESPACE_CLOSE
 
 // Declare / Import auto-differentiable math functions in(to) standard
 // namespace before numbers::NumberTraits is defined
+#ifdef DEAL_II_WITH_ADOLC
+#include <adolc/adouble.h> // Taped double
 #include <deal.II/differentiation/ad/adolc_math.h>
+#endif
 // Ideally we'd like to #include <deal.II/differentiation/ad/sacado_math.h>
 // but header indirectly references numbers.h. We therefore simply
 // import the whole Sacado header at this point to get the math

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.