From: Sebastian Kinnewig Date: Fri, 27 Oct 2023 16:49:12 +0000 (+0200) Subject: Fix the assert condition X-Git-Tag: relicensing~352^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e5729663c040b45742adf952c123f070887b017;p=dealii.git Fix the assert condition --- diff --git a/include/deal.II/lac/trilinos_tpetra_vector.templates.h b/include/deal.II/lac/trilinos_tpetra_vector.templates.h index eccc2f41ee..1546012d51 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.templates.h @@ -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."));