From 2e5729663c040b45742adf952c123f070887b017 Mon Sep 17 00:00:00 2001 From: Sebastian Kinnewig Date: Fri, 27 Oct 2023 18:49:12 +0200 Subject: [PATCH] Fix the assert condition --- include/deal.II/lac/trilinos_tpetra_vector.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")); -- 2.39.5