From b6a2cbecfe1e5fe7319242cdbfcff0f7cfa45dee Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 29 Oct 2015 17:24:16 -0500 Subject: [PATCH] reindent --- tests/lac/block_linear_operator_01.cc | 24 ++++++++++++++++-------- tests/lac/block_linear_operator_02.cc | 4 ++-- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/tests/lac/block_linear_operator_01.cc b/tests/lac/block_linear_operator_01.cc index 75d622e0e9..e36dd13e73 100644 --- a/tests/lac/block_linear_operator_01.cc +++ b/tests/lac/block_linear_operator_01.cc @@ -107,8 +107,10 @@ int main() auto op_b10 = linear_operator(a.block(1, 0)); auto op_b11 = linear_operator(a.block(1, 1)); - std::array, 2> temp{ - {op_b00, op_b01, op_b10, op_b11}}; + std::array, 2> temp + { + {op_b00, op_b01, op_b10, op_b11} + }; auto op_b = block_operator<2, 2, BlockVector>(temp); { @@ -184,8 +186,10 @@ int main() // And finally complicated block structures: - std::array, 3> temp2{ - {op_b00, op_b01, op_b00, op_b10, op_b11, op_b10, op_b10, op_b11, op_b10}}; + std::array, 3> temp2 + { + {op_b00, op_b01, op_b00, op_b10, op_b11, op_b10, op_b10, op_b11, op_b10} + }; auto op_upp_x_upu = block_operator<3, 3, BlockVector>(temp2); op_upp_x_upu.reinit_domain_vector(u, false); @@ -203,12 +207,16 @@ int main() op_upp_x_upu.vmult_add(v, u); PRINTME("v", v); - std::array, 3> temp3{ - {op_b01, op_b11, op_b11}}; + std::array, 3> temp3 + { + {op_b01, op_b11, op_b11} + }; auto op_upp_x_p = block_operator<3, 1, BlockVector>(temp3); - std::array, 1> temp4{ - {op_b00, op_b01, op_b00}}; + std::array, 1> temp4 + { + {op_b00, op_b01, op_b00} + }; auto op_u_x_upu = block_operator<1, 3, BlockVector>(temp4); auto op_long = op_u_x_upu * transpose_operator(op_upp_x_upu) * op_upp_x_p; diff --git a/tests/lac/block_linear_operator_02.cc b/tests/lac/block_linear_operator_02.cc index 55cacb8641..2f64327c68 100644 --- a/tests/lac/block_linear_operator_02.cc +++ b/tests/lac/block_linear_operator_02.cc @@ -84,7 +84,7 @@ int main() auto op_b1 = linear_operator(a.block(1, 1)); auto op_b2 = linear_operator(a.block(2, 2)); - std::array temp{{op_b0, op_b1, op_b2}}; + std::array temp {{op_b0, op_b1, op_b2}}; auto op_b = block_diagonal_operator<3, BlockVector>(temp); @@ -156,7 +156,7 @@ int main() // And finally the other block_diagonal_operator variant: - std::array temp2{{op_b0, op_b0, op_b0, op_b0, op_b0}}; + std::array temp2 {{op_b0, op_b0, op_b0, op_b0, op_b0}}; auto op_c = block_diagonal_operator<5, BlockVector>(temp2); auto op_d = block_diagonal_operator<5, BlockVector>(op_b0); -- 2.39.5