Skip to content

Commit

Permalink
Test sundials/n_vector: adjust an assert for sundials 7
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Jul 22, 2024
1 parent 1782d71 commit 44beb88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sundials/n_vector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,10 @@ test_get_communicator()
global_nvector_context
#endif
);
#if !DEAL_II_SUNDIALS_VERSION_GTE(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;
}
Expand Down

0 comments on commit 44beb88

Please sign in to comment.