]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fixed minor misprints in FEValues.cc
authorDenis Davydov <davydden@gmail.com>
Sun, 1 Mar 2015 12:08:26 +0000 (13:08 +0100)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 8 May 2015 16:19:52 +0000 (11:19 -0500)
source/fe/fe_values.cc

index 94550ad6fa562be399b8b15b7ed498ea826ee9b3..59c9cbfe44740e414ca726532c45623cf873d8e6 100644 (file)
@@ -673,7 +673,7 @@ namespace FEValuesViews
             continue;
 
           const Number value = dof_values(shape_function);
-          if (value == Number)
+          if (value == Number())
             continue;
 
           if (snc != -1)
@@ -2661,7 +2661,7 @@ void FEValuesBase<dim,spacedim>::get_function_values (
   // get function values of dofs on this cell
   Vector<Number> dof_values (dofs_per_cell);
   present_cell->get_interpolated_dof_values(fe_function, dof_values);
-  VectorSlice<std::vector<Vector<number> > > val(values);
+  VectorSlice<std::vector<Vector<Number> > > val(values);
   internal::do_function_values(dof_values.begin(), this->shape_values, *fe,
                                this->shape_function_to_row_table, val);
 }
@@ -2683,7 +2683,7 @@ void FEValuesBase<dim,spacedim>::get_function_values (
   Assert (this->update_flags & update_values,
           ExcAccessToUninitializedField("update_values"));
 
-  VectorSlice<std::vector<Vector<number> > > val(values);
+  VectorSlice<std::vector<Vector<Number> > > val(values);
   if (indices.size() <= 100)
     {
       Number dof_values[100];
@@ -3113,7 +3113,7 @@ void FEValuesBase<dim,spacedim>::get_function_laplacians (
   std::vector<std::vector<typename InputVector::value_type> > &laplacians,
   bool quadrature_points_fastest) const
 {
-  typedef typename InputVector::value_type number;
+  typedef typename InputVector::value_type Number;
   Assert (indices.size() % dofs_per_cell == 0,
           ExcNotMultiple(indices.size(), dofs_per_cell));
   Assert (this->update_flags & update_hessians,

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.