]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Outline taking the address of a function again since icc10 is unhappy with the curren...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Sep 2007 04:32:24 +0000 (04:32 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Sep 2007 04:32:24 +0000 (04:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@15180 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/derivative_approximation.cc

index cce43642aeb639fcf05d979c34693817681b4680..df45dce7f4bd23d3be4fcea179ccc3de6b2d0e4e 100644 (file)
@@ -641,11 +641,12 @@ approximate_derivative (const Mapping<dim>    &mapping,
                           const unsigned int     ,
                           const IndexInterval   &,
                           Vector<float>         &);
-
+  FunPtr fun_ptr = &DerivativeApproximation::
+                  template approximate<DerivativeDescription,dim,
+                  DH,InputVector>;
+  
   for (unsigned int i=0; i<n_threads; ++i)
-    threads += Threads::spawn (&DerivativeApproximation::
-                              template approximate<DerivativeDescription,dim,
-                              DH,InputVector>)
+    threads += Threads::spawn (fun_ptr)
               (mapping, dof_handler, solution, component,
                index_intervals[i],
                derivative_norm);

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.