Skip to content

Commit dabb537

Browse files
authored
Change the scope of stepVariable in allReduce. (#1401)
As of `2025.10.0`
1 parent c08a3da commit dabb537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/functions/predicate.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ It is initialized with the value of `initial`.
120120
| `reductionFunction` | `ANY` | An expression whose return value becomes the next value of the `accumulator`.
121121
The return type must match the return type of `initial`.
122122
| `predicate` | `BOOLEAN` | A predicate that is evaluated for each iteration.
123-
It has access to the variable `accumulator`, but not `stepVariable`.
123+
It has access to both the `accumulator` and `stepVariable` variables.
124124
| *Returns* 3+| `BOOLEAN`
125125
|===
126126

0 commit comments

Comments
 (0)