From: Wolfgang Bangerth Date: Sun, 6 Mar 2022 21:40:38 +0000 (-0700) Subject: Merge pull request #13488 from pengfej/fbranch X-Git-Tag: v9.4.0-rc1~407 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f09bc521e0f3dd21946bee7efaf7b7640566b9c1;p=dealii.git Merge pull request #13488 from pengfej/fbranch Removing DEAL_II_MPI_CONST_CAST --- f09bc521e0f3dd21946bee7efaf7b7640566b9c1 diff --cc include/deal.II/base/mpi.templates.h index ccccc91c1b,679817ae5c..844e88898f --- a/include/deal.II/base/mpi.templates.h +++ b/include/deal.II/base/mpi.templates.h @@@ -80,12 -80,10 +80,10 @@@ namespace Utilitie } # endif const int ierr = - MPI_Allreduce(values != output ? - DEAL_II_MPI_CONST_CAST(values.data()) : - MPI_IN_PLACE, + MPI_Allreduce(values != output ? values.data() : MPI_IN_PLACE, static_cast(output.data()), static_cast(values.size()), - mpi_type_id(values.data()), + mpi_type_id_for_type, mpi_op, mpi_communicator); AssertThrowMPI(ierr);