]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Test sundials/n_vector: adjust an assert for sundials 7 17340/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 22 Jul 2024 11:45:40 +0000 (06:45 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 22 Jul 2024 13:35:26 +0000 (08:35 -0500)
tests/sundials/n_vector.cc

index 5aa5de9bac011b1ad292d6416854d1be008e369f..d93813771be2869fcd1ee5f7144cda0f285c414b 100644 (file)
@@ -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;
 }

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.