]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix exception problem.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Oct 1999 08:30:13 +0000 (08:30 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Oct 1999 08:30:13 +0000 (08:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@1804 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 4fdfced417f2b84591bf43651d057bc284169e32..65c9b674a31a58237def4a768a9430280a5438d5 100644 (file)
@@ -184,7 +184,7 @@ void FEValuesBase<dim>::get_function_grads (const Vector<double>            &fe_
          ExcIndexRange (selected_dataset, 0, shape_values.size()));
   for (unsigned i=0;i<gradients.size();++i)
     Assert (gradients[i].size() == fe->n_components,
-           ExcWrongVectorSize(gradients.size(), n_quadrature_points));
+           ExcWrongVectorSize(gradients[i].size(), fe->n_components));
 
                                   // 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.