From: Daniel Arndt Date: Sat, 10 Feb 2018 19:35:37 +0000 (+0100) Subject: Avoid warning about "braces around scalar initializer" X-Git-Tag: v9.0.0-rc1~449^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a382e64eaf8673a35d4cf363e1b578ec91e99e8;p=dealii.git Avoid warning about "braces around scalar initializer" --- diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 1d13661f17..6ac4f7d380 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -1403,7 +1403,7 @@ namespace VectorTools typedef MatrixFreeOperators::MassOperator > 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 LocalVectorType;