From 9a3797666bdd7b99dd2c6bd4d52985a8c8d2a7a1 Mon Sep 17 00:00:00 2001
From: Dakshina Ilangovan <dakshinai@tamu.edu>
Date: Tue, 10 Feb 2015 00:17:35 -0600
Subject: [PATCH] deprecated apply_constraints method in filtered_matrix

---
 include/deal.II/lac/filtered_matrix.h | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/include/deal.II/lac/filtered_matrix.h b/include/deal.II/lac/filtered_matrix.h
index 4deeb74a5d..a334c00da2 100644
--- a/include/deal.II/lac/filtered_matrix.h
+++ b/include/deal.II/lac/filtered_matrix.h
@@ -410,9 +410,15 @@ public:
    * before starting to solve with the filtered matrix. If the matrix is
    * symmetric (i.e. the matrix itself, not only its sparsity pattern), set
    * the second parameter to @p true to use a faster algorithm.
+   * Note: This method is deprecated as matrix_is_symmetric parameter is no longer used.
    */
   void apply_constraints (VECTOR     &v,
-                          const bool  matrix_is_symmetric) const;
+                          const bool  matrix_is_symmetric) const DEAL_II_DEPRECATED;
+  /**
+   * Apply the constraints to a right hand side vector. This needs to be done
+   * before starting to solve with the filtered matrix.
+   */
+  void apply_constraints (VECTOR     &v) const;
 
   /**
    * Matrix-vector multiplication: this operation performs pre_filter(),
@@ -811,6 +817,16 @@ void
 FilteredMatrix<VECTOR>::apply_constraints (
   VECTOR     &v,
   const bool  /* matrix_is_symmetric */) const
+{
+  apply_constraints(v);
+}
+
+
+template <class VECTOR>
+inline
+void
+FilteredMatrix<VECTOR>::apply_constraints (
+  VECTOR     &v) const
 {
   GrowingVectorMemory<VECTOR> mem;
   typename VectorMemory<VECTOR>::Pointer tmp_vector(mem);
@@ -837,7 +853,6 @@ FilteredMatrix<VECTOR>::apply_constraints (
 }
 
 
-
 template <class VECTOR>
 inline
 void
-- 
2.39.5