]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make tests compile with gcc3.4 as well
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 13 Aug 2006 23:56:35 +0000 (23:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 13 Aug 2006 23:56:35 +0000 (23:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@13698 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/interpolate_q_system_01.cc
tests/hp/interpolate_q_system_02.cc

index 20505e56ec4ad765a14021202878edf53e833e57..a747a1d8cb81059ce8e280ab2754e1014bc471b2 100644 (file)
@@ -72,8 +72,10 @@ void test ()
 
   for (unsigned int p=1; p<6-dim; ++p)
     {
-      FESystem<dim>              fe(FE_Q<dim>(p), 2,
-                                   FE_Q<dim>(p+1), 1);
+      FE_Q<dim> fe_p(p);
+      FE_Q<dim> fe_p1(p+1);
+      FESystem<dim>              fe(fe_p, 2,
+                                   fe_p1, 1);
       hp::FECollection<dim> hp_fe (fe);
       hp::DoFHandler<dim>        dof_handler(triangulation);
       dof_handler.distribute_dofs (hp_fe);
index 1172bfab601672555fd9d860c9bcf96729d5fcaa..a5797fd29fa6552beaac254465bbb69c2894a6ee 100644 (file)
@@ -78,8 +78,10 @@ void test ()
 
   for (unsigned int p=1; p<6-dim; ++p)
     {
-      FESystem<dim>              fe(FE_Q<dim>(p), 2,
-                                   FE_Q<dim>(p+1), 1);
+      FE_Q<dim> fe_p(p);
+      FE_Q<dim> fe_p1(p+1);
+      FESystem<dim>              fe(fe_p, 2,
+                                   fe_p1, 1);
       hp::FECollection<dim> hp_fe (fe);
       hp::DoFHandler<dim>        dof_handler(triangulation);
       dof_handler.distribute_dofs (hp_fe);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.