]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix MF for LA::vector 13266/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 18 Jan 2022 19:51:24 +0000 (20:51 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 18 Jan 2022 19:51:24 +0000 (20:51 +0100)
include/deal.II/matrix_free/type_traits.h

index bce4761ae02635978670f4cbc9e4621daeca4f74..d2b61709768b4367423b7d52c7b1308271921630 100644 (file)
@@ -273,8 +273,9 @@ namespace internal
   template <typename T>
   struct has_exchange_on_subset
   {
-    static const bool value =
-      has_begin<T>::value && has_local_element<T>::value;
+    static const bool value = has_begin<T>::value &&
+                              has_local_element<T>::value &&
+                              has_partitioners_are_compatible<T>::value;
   };
 
   // We need to have a separate declaration for static const members

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.