From: Wolfgang Bangerth Date: Mon, 24 Jul 2000 09:12:49 +0000 (+0000) Subject: Fix a bug uncovered by Ralf's recent checks in get_function_values. X-Git-Tag: v8.0.0~20219 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80eb563419f7942a218e4a80aeb21988ba73a584;p=dealii.git Fix a bug uncovered by Ralf's recent checks in get_function_values. git-svn-id: https://svn.dealii.org/trunk@3207 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index 5c439e143b..d022ef6802 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -809,7 +809,7 @@ VectorTools::integrate_difference (const DoFHandler &dof, UpdateFlags update_flags = UpdateFlags (update_q_points | update_JxW_values); if (norm != H1_seminorm) - update_flags != update_values; + update_flags = UpdateFlags(update_flags | update_values); if ((norm==H1_seminorm) || (norm==H1_norm)) update_flags = UpdateFlags (update_flags | update_gradients);