From 750a67a3476c144b42409f665c3e9ee21b2def42 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 4 May 2018 21:39:08 -0400 Subject: [PATCH] fix ConstraintMatrix initialize warning --- source/lac/constraint_matrix.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 &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. -- 2.39.5