From: Timo Heister Date: Tue, 1 Sep 2015 21:17:45 +0000 (-0400) Subject: do not elide initializer list braces X-Git-Tag: v8.4.0-rc2~488^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=690ae23a1f11b8a0ab7f1d5486ef9ba3f2102de6;p=dealii.git do not elide initializer list braces This fixes the test on intel 15. --- diff --git a/tests/lac/block_linear_operator_03.cc b/tests/lac/block_linear_operator_03.cc index 4ec6e5ecf8..ca6f2137df 100644 --- a/tests/lac/block_linear_operator_03.cc +++ b/tests/lac/block_linear_operator_03.cc @@ -41,8 +41,10 @@ int main() auto op_a = LinearOperator<>(); + { - std::array, 2> temp {op_a, op_a, op_a, op_a}; + std::array a {{op_a, op_a}}; + std::array, 2> temp {{a,a}}; BlockLinearOperator<> op_b(temp); auto op_c = block_operator<2, 2, BlockVector>(temp); @@ -53,7 +55,7 @@ int main() } { - std::array temp {op_a, op_a}; + std::array temp {{op_a, op_a}}; auto op_c = block_diagonal_operator<2, BlockVector>(temp); op_c = temp;