From 4a7032cd15127bbd0e08b9f70346a35da77c06dd Mon Sep 17 00:00:00 2001 From: Viktor Kozhuharov <44230430+QuickSorting@users.noreply.github.com> Date: Sat, 19 Apr 2025 21:29:11 +0100 Subject: [PATCH] Fix small bug --- content/english/hpc/algorithms/prefix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/english/hpc/algorithms/prefix.md b/content/english/hpc/algorithms/prefix.md index 43bfd560..9ade729c 100644 --- a/content/english/hpc/algorithms/prefix.md +++ b/content/english/hpc/algorithms/prefix.md @@ -133,7 +133,7 @@ void prefix(int *a, int n) { v4i s = _mm_setzero_si128(); - for (int i = 4; i < n; i += 4) + for (int i = 0; i < n; i += 4) s = accumulate(&a[i], s); } ```