From 101b76ed98438e806ef368b6cc38a6f0fc5fed36 Mon Sep 17 00:00:00 2001 From: Georgiy Kargapolov Date: Tue, 7 Oct 2025 09:38:09 +0200 Subject: [PATCH] Change the scope of `stepVariable` in `allReduce`. --- modules/ROOT/pages/functions/predicate.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/functions/predicate.adoc b/modules/ROOT/pages/functions/predicate.adoc index 5786177fc..4a67747cf 100644 --- a/modules/ROOT/pages/functions/predicate.adoc +++ b/modules/ROOT/pages/functions/predicate.adoc @@ -120,7 +120,7 @@ It is initialized with the value of `initial`. | `reductionFunction` | `ANY` | An expression whose return value becomes the next value of the `accumulator`. The return type must match the return type of `initial`. | `predicate` | `BOOLEAN` | A predicate that is evaluated for each iteration. -It has access to the variable `accumulator`, but not `stepVariable`. +It has access to both the `accumulator` and `stepVariable` variables. | *Returns* 3+| `BOOLEAN` |===