]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use a local typedef to shorten things.
authorDavid Wells <wellsd2@rpi.edu>
Mon, 19 Oct 2015 12:33:12 +0000 (08:33 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 2 Nov 2015 14:31:05 +0000 (09:31 -0500)
include/deal.II/numerics/vector_tools.templates.h

index b02808c9dde7d21a14198cab04340dc5653eece4..40c225477fcb5cf3c506c8294af499edcec05efe 100644 (file)
@@ -6426,7 +6426,7 @@ namespace VectorTools
         }
 
       dealii::hp::FECollection<dim,spacedim> fe_collection (dof.get_fe());
-      IDScratchData<dim,spacedim,typename InVector::value_type> data(mapping, fe_collection, q, update_flags);
+      IDScratchData<dim,spacedim, Number> data(mapping, fe_collection, q, update_flags);
 
       // loop over all cells
       for (typename DH::active_cell_iterator cell = dof.begin_active();
@@ -6446,9 +6446,9 @@ namespace VectorTools
               fe_values.get_function_gradients (fe_function, data.function_grads);
 
             difference(cell->active_cell_index()) =
-              integrate_difference_inner<dim,spacedim,typename InVector::value_type> (exact_solution, norm, weight,
-                  update_flags, exponent,
-                  n_components, data);
+              integrate_difference_inner<dim,spacedim, Number> (exact_solution, norm, weight,
+                                                                update_flags, exponent,
+                                                                n_components, data);
           }
         else
           // the cell is a ghost cell or is artificial. write a zero into the

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.