From 758e1ca4ec6d14394609e3beebbbd4a80a77784b Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 4 Mar 2019 14:24:18 +0100 Subject: [PATCH] add missing const --- libsrc/core/mpi_wrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index 4928dfda..329fee57 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -153,7 +153,7 @@ namespace ngcore /** --- collectives --- **/ template ())> - T Reduce (T d, const MPI_Op & op, int root = 0) + T Reduce (T d, const MPI_Op & op, int root = 0) const { if (size == 1) return d;