From f36b4fe12a7c095254a7adff412c5a638e5a9d04 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 18 Nov 2024 11:37:47 -0500 Subject: [PATCH] Fix get_communicator_by_value for SUNDIALS 7 --- include/deal.II/sundials/n_vector.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/sundials/n_vector.templates.h b/include/deal.II/sundials/n_vector.templates.h index 3e54f4874f..8fe20deecc 100644 --- a/include/deal.II/sundials/n_vector.templates.h +++ b/include/deal.II/sundials/n_vector.templates.h @@ -753,7 +753,7 @@ namespace SUNDIALS // // Further, we need to cast away const here, as SUNDIALS demands the // communicator by value. - return const_cast(get_mpi_communicator(v)); + return const_cast(get_mpi_communicator(v)); else return SUN_COMM_NULL; # endif -- 2.39.5