]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Move DEAL_II_NAMESPACE_CLOSE into define guard
authorMatthias Maier <tamiko@43-1.org>
Mon, 28 Sep 2015 04:21:43 +0000 (23:21 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 28 Sep 2015 04:21:43 +0000 (23:21 -0500)
Otherwise an extraneous closing brace '}' is encountered if
DEAL_II_WITH_TRILINOS is false

include/deal.II/base/sacado_product_type.h

index 1cf1973a5ff8fdee1e40f7fd969be407457327aa..5cf6042568667386345579eaa4a7ccea593ba63a 100644 (file)
@@ -72,8 +72,8 @@ struct EnableIfScalar<Sacado::Fad::DFad<T> >
   typedef Sacado::Fad::DFad<T> type;
 };
 
-#endif // DEAL_II_WITH_TRILINOS
-
 DEAL_II_NAMESPACE_CLOSE
 
+#endif // DEAL_II_WITH_TRILINOS
+
 #endif

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.