mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-12 00:59:16 +05:00
add missing const
This commit is contained in:
parent
3673b7c77b
commit
758e1ca4ec
@ -153,7 +153,7 @@ namespace ngcore
|
|||||||
/** --- collectives --- **/
|
/** --- collectives --- **/
|
||||||
|
|
||||||
template <typename T, typename T2 = decltype(GetMPIType<T>())>
|
template <typename T, typename T2 = decltype(GetMPIType<T>())>
|
||||||
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;
|
if (size == 1) return d;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user