]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the assert condition 16205/head
authorSebastian Kinnewig <kinnewig@ifam.uni-hannover.de>
Fri, 27 Oct 2023 16:49:12 +0000 (18:49 +0200)
committerSebastian Kinnewig <kinnewig@ifam.uni-hannover.de>
Fri, 27 Oct 2023 16:49:12 +0000 (18:49 +0200)
include/deal.II/lac/trilinos_tpetra_vector.templates.h

index eccc2f41eeef926388c4569af55741615b94547b..1546012d51499fff2d5942983f1c074ef4dd8fdd 100644 (file)
@@ -243,7 +243,7 @@ namespace LinearAlgebra
             const TpetraWrappers::CommunicationPattern>(communication_pattern);
 
           AssertThrow(
-            tpetra_comm_pattern.is_null(),
+            !tpetra_comm_pattern.is_null(),
             ExcMessage(
               std::string("The communication pattern is not of type ") +
               "LinearAlgebra::TpetraWrappers::CommunicationPattern."));

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.