]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning about "braces around scalar initializer" 5886/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 10 Feb 2018 19:35:37 +0000 (20:35 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 10 Feb 2018 19:35:37 +0000 (20:35 +0100)
include/deal.II/numerics/vector_tools.templates.h

index 1d13661f1733f014ce5586f45c0356ca1426eeb3..6ac4f7d380a3b42e2761b636047c6bfb23e79d74 100644 (file)
@@ -1403,7 +1403,7 @@ namespace VectorTools
 
       typedef MatrixFreeOperators::MassOperator<dim, fe_degree, n_q_points_1d, 1, LinearAlgebra::distributed::Vector<Number> > MatrixType;
       MatrixType mass_matrix;
-      mass_matrix.initialize(matrix_free, {{fe_component}});
+      mass_matrix.initialize(matrix_free, {fe_component});
       mass_matrix.compute_diagonal();
 
       typedef LinearAlgebra::distributed::Vector<Number> LocalVectorType;

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.