]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around an old bug in gcc.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Aug 2006 21:28:03 +0000 (21:28 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Aug 2006 21:28:03 +0000 (21:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@13778 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/interpolate_q_system_01.cc

index 35d5a53d94f0a79fef1d1c91169b632f03fc162c..0fd23ca079f26d86c731dfe7bce8d393de6b4ee8 100644 (file)
@@ -71,8 +71,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_1(p);
+      FE_Q<dim> fe_2(p+1);
+      FESystem<dim>              fe(fe_1, 2,
+                                   fe_2, 1);
       DoFHandler<dim>        dof_handler(triangulation);
       dof_handler.distribute_dofs (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.