From 79dc18f7b968e346a64e0a5ebd1c80ccbcb8ae96 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 14 May 2015 14:04:42 +0200 Subject: [PATCH] Include MueLu.hpp only in .cc file. --- include/deal.II/lac/trilinos_precondition.h | 5 ----- source/lac/trilinos_precondition.cc | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/include/deal.II/lac/trilinos_precondition.h b/include/deal.II/lac/trilinos_precondition.h index 62784dd179..4fce4157c2 100644 --- a/include/deal.II/lac/trilinos_precondition.h +++ b/include/deal.II/lac/trilinos_precondition.h @@ -38,11 +38,6 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS # include # include # include - -# if DEAL_II_TRILINOS_VERSION_GTE(11,14,0) -# include -# include -# endif DEAL_II_ENABLE_EXTRA_DIAGNOSTICS // forward declarations diff --git a/source/lac/trilinos_precondition.cc b/source/lac/trilinos_precondition.cc index b5e0bc6a13..e7582f617e 100644 --- a/source/lac/trilinos_precondition.cc +++ b/source/lac/trilinos_precondition.cc @@ -25,13 +25,15 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS # include # include # include +# include # include # include # include #if DEAL_II_TRILINOS_VERSION_GTE(11,14,0) -#include -#include +# include +# include +# include #endif DEAL_II_ENABLE_EXTRA_DIAGNOSTICS -- 2.39.5