From: David Wells Date: Tue, 9 Aug 2016 16:12:08 +0000 (-0400) Subject: Fix compilation without Trilinos. X-Git-Tag: v8.5.0-rc1~788^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2939%2Fhead;p=dealii.git Fix compilation without Trilinos. --- 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