From: Matthias Maier Date: Mon, 22 Jul 2024 11:45:40 +0000 (-0500) Subject: Test sundials/n_vector: adjust an assert for sundials 7 X-Git-Tag: v9.6.0-rc1~36^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17340%2Fhead;p=dealii.git Test sundials/n_vector: adjust an assert for sundials 7 --- 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; }