From 96a823c36ee319719729fe86213aaa68e4fd51f8 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 9 Aug 2016 12:12:08 -0400 Subject: [PATCH] Fix compilation without Trilinos. --- include/deal.II/lac/relaxation_block.templates.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/deal.II/lac/relaxation_block.templates.h b/include/deal.II/lac/relaxation_block.templates.h index 84eafb84ae..038803cde6 100644 --- a/include/deal.II/lac/relaxation_block.templates.h +++ b/include/deal.II/lac/relaxation_block.templates.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1999 - 2015 by the deal.II authors +// Copyright (C) 1999 - 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -176,6 +176,7 @@ namespace internal return prev; } +#ifdef DEAL_II_WITH_TRILINOS /** * Specialization for Trilinos. Use the ghosted vector. */ @@ -193,6 +194,7 @@ namespace internal *other = prev; return *other; } +#endif // DEAL_II_WITH_TRILINOS } // end namespace internal template -- 2.39.5