From: Timo Heister <timo.heister@gmail.com>
Date: Sat, 5 May 2018 01:39:08 +0000 (-0400)
Subject: fix ConstraintMatrix initialize warning
X-Git-Tag: v9.1.0-rc1~1221^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e80b16a224d7b6c2c9883c14e3c15d046e0aeb8;p=dealii.git

fix ConstraintMatrix initialize warning
---

diff --git a/source/lac/constraint_matrix.cc b/source/lac/constraint_matrix.cc
index 7d652eda78..c713b9554d 100644
--- a/source/lac/constraint_matrix.cc
+++ b/source/lac/constraint_matrix.cc
@@ -110,7 +110,9 @@ bool ConstraintMatrix::is_consistent_in_parallel(const std::vector<IndexSet> &lo
                                                  const MPI_Comm mpi_communicator,
                                                  const bool verbose) const
 {
-  ConstraintLine empty= {};
+  ConstraintLine empty;
+  empty.inhomogeneity = 0.0;
+
   // Helper to return a reference to the ConstraintLine object that belongs to row @p row.
   // We don't want to make copies but to return a reference, we need an empty object that
   // we store above.