]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix comment location 14819/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 22 Feb 2023 02:35:06 +0000 (21:35 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 22 Feb 2023 02:35:06 +0000 (21:35 -0500)
include/deal.II/differentiation/ad/sacado_number_types.h

index af7bf2e98be3845e5a80d386c01df44ac9648a76..40c94f35ee4389e8ea56dc02d8a53946771d96a7 100644 (file)
@@ -67,17 +67,16 @@ DEAL_II_NAMESPACE_CLOSE
 
 #ifdef DEAL_II_TRILINOS_WITH_SACADO
 
-#  include <Sacado.hpp>
-// It appears that some versions of Trilinos do not directly or indirectly
-// include all the headers for all forward and reverse Sacado AD types.
-// So we directly include these both here as a precaution.
-// Standard forward AD classes (templated)
 #  include <deal.II/base/exceptions.h>
 #  include <deal.II/base/numbers.h>
 
 #  include <deal.II/differentiation/ad/ad_number_traits.h>
 #  include <deal.II/differentiation/ad/ad_number_types.h>
 
+// It appears that some versions of Trilinos do not directly or indirectly
+// include all the headers for all forward and reverse Sacado AD types
+// in Sacado.hpp, so we also directly include these here as a precaution:
+#  include <Sacado.hpp>
 #  include <Sacado_Fad_DFad.hpp>
 #  include <Sacado_trad.hpp>
 

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.