From a5b13bcc961b1b082d0c36c47a37680216b76213 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 16 Jul 2013 16:33:27 +0000 Subject: [PATCH] Make things compile in C++98 mode as well. git-svn-id: https://svn.dealii.org/trunk@30011 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/fe_values_view_tensor_01.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/deal.II/fe_values_view_tensor_01.cc b/tests/deal.II/fe_values_view_tensor_01.cc index b195e19f9b..29172db937 100644 --- a/tests/deal.II/fe_values_view_tensor_01.cc +++ b/tests/deal.II/fe_values_view_tensor_01.cc @@ -175,10 +175,10 @@ void MixedElastoPlasticity::assemble_system() endc = dof_handler.end(); - std::vector> div_values(n_q_points); - std::vector> stress_values(n_q_points); + std::vector > div_values(n_q_points); + std::vector > stress_values(n_q_points); - unsigned int cc = 0; + unsigned int cc = 0; for (; cell!=endc; ++cell) //loop over all cells { deallog<<++cc<<" "; @@ -189,8 +189,7 @@ void MixedElastoPlasticity::assemble_system() fe_values[stress_extr].get_function_values(solution,stress_values); fe_values[stress_extr].get_function_divergences(solution,div_values); - - } + } } template -- 2.39.5