mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
add missing const
This commit is contained in:
parent
10ef58b54b
commit
335bb4d424
@ -153,7 +153,7 @@ namespace ngcore
|
||||
/** --- collectives --- **/
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user