From 93a5e330815a8d4fd97bfeb9ed594c1f9a5db62f Mon Sep 17 00:00:00 2001 From: Alex Cole Date: Wed, 24 Apr 2024 19:45:30 +0200 Subject: [PATCH] Fix #671 --- YSI_Coding/y_functional/y_functional_funcs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSI_Coding/y_functional/y_functional_funcs.inc b/YSI_Coding/y_functional/y_functional_funcs.inc index 2a5737d4..a82b0c0e 100644 --- a/YSI_Coding/y_functional/y_functional_funcs.inc +++ b/YSI_Coding/y_functional/y_functional_funcs.inc @@ -1151,7 +1151,7 @@ stock Reverse(data[], dataSize = sizeof (data)) { new temp = 0; - for (new i = 0; j = dataSize - 1; i < j; ++i, --j) + for (new i = 0, j = dataSize - 1; i < j; ++i, --j) { temp = data[i], data[i] = data[j],