From 2f7ffe84b1b70520604de0042d65a883fcf87d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=93=D0=B0=D1=80?= =?UTF-8?q?=D0=B1=D0=B0=D1=80?= Date: Sat, 1 Jun 2024 18:21:27 +0300 Subject: [PATCH] Fix prefix sum test --- tests/GraphBLAS-sharp.Tests/Backend/Common/Scan/PrefixSum.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/GraphBLAS-sharp.Tests/Backend/Common/Scan/PrefixSum.fs b/tests/GraphBLAS-sharp.Tests/Backend/Common/Scan/PrefixSum.fs index a7f35516..d7379ac9 100644 --- a/tests/GraphBLAS-sharp.Tests/Backend/Common/Scan/PrefixSum.fs +++ b/tests/GraphBLAS-sharp.Tests/Backend/Common/Scan/PrefixSum.fs @@ -63,7 +63,7 @@ let makeTest plus zero isEqual scanInclude scanExclude (array: 'a []) = |> Array.mapFold (fun s t -> let a = plus s t - s, a) + a, a) zero "Total sums for include should be equal"