From c570c1eb55e8988bc5b1474d395400a64a8f9cd7 Mon Sep 17 00:00:00 2001 From: Reza Rastak Date: Sat, 30 Nov 2019 00:46:33 -0800 Subject: [PATCH] explicit instanciation is provided for Utilities::MPI::min and max with ArrayView --- source/base/mpi.inst.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/base/mpi.inst.in b/source/base/mpi.inst.in index efa5a49a34..73572aea05 100644 --- a/source/base/mpi.inst.in +++ b/source/base/mpi.inst.in @@ -51,12 +51,20 @@ for (S : MPI_SCALARS) const MPI_Comm &, std::vector &); + template void max(const ArrayView &, + const MPI_Comm &, + const ArrayView &); + template S min(const S &, const MPI_Comm &); template void min>(const std::vector &, const MPI_Comm &, std::vector &); + template void min(const ArrayView &, + const MPI_Comm &, + const ArrayView &); + // The fixed-length array (i.e., things declared like T(&values)[N]) // versions of the functions above live in the header file mpi.h since the // length (N) is a compile-time constant. Those functions all call -- 2.39.5