]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a bug uncovered by Ralf's recent checks in get_function_values.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Jul 2000 09:12:49 +0000 (09:12 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Jul 2000 09:12:49 +0000 (09:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@3207 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/vectors.cc

index 5c439e143b113d6173d493f3551de5dc71e7e8df..d022ef6802d42f2694f825678a8087a4cfa61a1c 100644 (file)
@@ -809,7 +809,7 @@ VectorTools::integrate_difference (const DoFHandler<dim>    &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);

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.