diff --git a/src/comms/commsUtils.nim b/src/comms/commsUtils.nim index 7e05271..bb9a423 100644 --- a/src/comms/commsUtils.nim +++ b/src/comms/commsUtils.nim @@ -180,16 +180,18 @@ macro rankSumN*(comm:Comm, a:varargs[typed]):auto = i0 = i break if i0<0: + let b = newNimNode(nnkBracket) var s = newNimNode(nnkStmtList) let t = ident("t") for i in 0..