diff options
Diffstat (limited to 'boost/mpi/collectives/reduce.hpp')
-rw-r--r-- | boost/mpi/collectives/reduce.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/mpi/collectives/reduce.hpp b/boost/mpi/collectives/reduce.hpp index 4a94d71c12..1e2722ee6d 100644 --- a/boost/mpi/collectives/reduce.hpp +++ b/boost/mpi/collectives/reduce.hpp @@ -46,7 +46,7 @@ namespace detail { template<typename T, typename Op> void reduce_impl(const communicator& comm, const T* in_values, int n, - T* out_values, Op op, int root, mpl::true_ /*is_mpi_op*/, + T* out_values, Op /*op*/, int root, mpl::true_ /*is_mpi_op*/, mpl::true_/*is_mpi_datatype*/) { BOOST_MPI_CHECK_RESULT(MPI_Reduce, @@ -59,7 +59,7 @@ namespace detail { // datatype and operation, so we'll use MPI_Reduce directly. template<typename T, typename Op> void - reduce_impl(const communicator& comm, const T* in_values, int n, Op op, + reduce_impl(const communicator& comm, const T* in_values, int n, Op /*op*/, int root, mpl::true_ /*is_mpi_op*/, mpl::true_/*is_mpi_datatype*/) { BOOST_MPI_CHECK_RESULT(MPI_Reduce, |