]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add missing compress() to VectorTools::create_right_hand_side() 12792/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 5 Oct 2021 07:13:27 +0000 (09:13 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 5 Oct 2021 07:14:18 +0000 (09:14 +0200)
include/deal.II/numerics/vector_tools_rhs.templates.h

index d18462093f5d091124ab47a2733941609edf9d1f..471cfa1f2fdee727b6be21a1fdecc4e4b693f298 100644 (file)
@@ -457,6 +457,8 @@ namespace VectorTools
                                                      rhs_vector);
             }
       }
+
+    rhs_vector.compress(VectorOperation::values::add);
   }
 
 
@@ -617,6 +619,8 @@ namespace VectorTools
                                                      rhs_vector);
             }
       }
+
+    rhs_vector.compress(VectorOperation::values::add);
   }
 
 

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.