From: Daniel Arndt Date: Mon, 18 Nov 2024 16:37:47 +0000 (-0500) Subject: Fix get_communicator_by_value for SUNDIALS 7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36b4fe12a7c095254a7adff412c5a638e5a9d04;p=dealii.git Fix get_communicator_by_value for SUNDIALS 7 --- 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