]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
exchange two exceptions that were in a wrong order
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 30 Jun 1999 12:58:31 +0000 (12:58 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 30 Jun 1999 12:58:31 +0000 (12:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@1514 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_values.cc

index 4fdf47e8980efa174060f93ecf1d939488306540..16760ac972eb0aab5ff8ca8a3e753f03732f25c5 100644 (file)
@@ -95,12 +95,12 @@ void FEValuesBase<dim>::get_function_values (const Vector<double>     &fe_functi
                                             vector< Vector<double> > &values) const
 {
   Assert (n_quadrature_points == values.size(),
-         ExcWrongNoOfComponents());
+         ExcWrongVectorSize(values.size(), n_quadrature_points));
   Assert (selected_dataset<shape_values.size(),
          ExcInvalidIndex (selected_dataset, shape_values.size()));
   for (unsigned i=0;i<values.size();++i)
     Assert (values[i].size() == fe->n_components,
-           ExcWrongVectorSize(values.size(), n_quadrature_points));
+           ExcWrongNoOfComponents());
 
                                   // get function values of dofs
                                   // on this cell

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.