From e30a1842db8e45e532a9118c64154fcc8ab57b9a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 22 Jul 2024 06:45:40 -0500 Subject: [PATCH] Test sundials/n_vector: adjust an assert for sundials 7 --- tests/sundials/n_vector.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sundials/n_vector.cc b/tests/sundials/n_vector.cc index 5aa5de9bac..d93813771b 100644 --- a/tests/sundials/n_vector.cc +++ b/tests/sundials/n_vector.cc @@ -355,8 +355,10 @@ test_get_communicator() global_nvector_context #endif ); +#if DEAL_II_SUNDIALS_VERSION_LT(7, 0, 0) // required by SUNDIALS: MPI-unaware vectors should return the nullptr Assert(N_VGetCommunicator(n_vector) == nullptr, NVectorTestError()); +#endif deallog << "test_get_communicator OK" << std::endl; } -- 2.39.5