From: Guido Kanschat Date: Fri, 23 Mar 2012 21:56:27 +0000 (+0000) Subject: we indeed checked for a wrong flag here X-Git-Tag: v8.0.0~2743 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f76390b0f5f216e281f3a089a02c58dea593d9;p=dealii.git we indeed checked for a wrong flag here git-svn-id: https://svn.dealii.org/trunk@25322 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/fe/fe_values.cc b/deal.II/source/fe/fe_values.cc index 9d4701a991..71ed640d73 100644 --- a/deal.II/source/fe/fe_values.cc +++ b/deal.II/source/fe/fe_values.cc @@ -2513,7 +2513,7 @@ void FEValuesBase::get_function_gradients ( // loops filling all components const unsigned int component_multiple = result_components / n_components; - Assert (this->update_flags & update_values, ExcAccessToUninitializedField()); + Assert (this->update_flags & update_gradients, ExcAccessToUninitializedField()); // initialize with zero for (unsigned i=0;i