]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation without Trilinos. 2939/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 9 Aug 2016 16:12:08 +0000 (12:12 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 9 Aug 2016 16:12:08 +0000 (12:12 -0400)
include/deal.II/lac/relaxation_block.templates.h

index 84eafb84ae69409d646da21ab7c3e7f2402b4e7c..038803cde60a226cfbfa0d1e9bfcb594716d9ecb 100644 (file)
@@ -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 <typename MatrixType, typename InverseNumberType, typename VectorType>

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.