From: bangerth Date: Sun, 13 Aug 2006 23:56:35 +0000 (+0000) Subject: Make tests compile with gcc3.4 as well X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8432714f9bc707edf4354920fd4624b4366a03fa;p=dealii-svn.git Make tests compile with gcc3.4 as well git-svn-id: https://svn.dealii.org/trunk@13698 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/hp/interpolate_q_system_01.cc b/tests/hp/interpolate_q_system_01.cc index 20505e56ec..a747a1d8cb 100644 --- a/tests/hp/interpolate_q_system_01.cc +++ b/tests/hp/interpolate_q_system_01.cc @@ -72,8 +72,10 @@ void test () for (unsigned int p=1; p<6-dim; ++p) { - FESystem fe(FE_Q(p), 2, - FE_Q(p+1), 1); + FE_Q fe_p(p); + FE_Q fe_p1(p+1); + FESystem fe(fe_p, 2, + fe_p1, 1); hp::FECollection hp_fe (fe); hp::DoFHandler dof_handler(triangulation); dof_handler.distribute_dofs (hp_fe); diff --git a/tests/hp/interpolate_q_system_02.cc b/tests/hp/interpolate_q_system_02.cc index 1172bfab60..a5797fd29f 100644 --- a/tests/hp/interpolate_q_system_02.cc +++ b/tests/hp/interpolate_q_system_02.cc @@ -78,8 +78,10 @@ void test () for (unsigned int p=1; p<6-dim; ++p) { - FESystem fe(FE_Q(p), 2, - FE_Q(p+1), 1); + FE_Q fe_p(p); + FE_Q fe_p1(p+1); + FESystem fe(fe_p, 2, + fe_p1, 1); hp::FECollection hp_fe (fe); hp::DoFHandler dof_handler(triangulation); dof_handler.distribute_dofs (hp_fe);