]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix ConstraintMatrix initialize warning 6464/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 5 May 2018 01:39:08 +0000 (21:39 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sat, 5 May 2018 01:41:57 +0000 (21:41 -0400)
source/lac/constraint_matrix.cc

index 7d652eda780338014285644616a0f5c26bc74146..c713b9554d1c3e8ed70b8f8f211e34a49f3a3634 100644 (file)
@@ -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.

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.