From 39361c4d9158a87140ba23735518c3dae149cf94 Mon Sep 17 00:00:00 2001 From: kirillgarbar Date: Tue, 24 Oct 2023 13:22:05 +0300 Subject: [PATCH] Fix formatting bug --- tests/GraphBLAS-sharp.Tests/Backend/Algorithms/PageRank.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/GraphBLAS-sharp.Tests/Backend/Algorithms/PageRank.fs b/tests/GraphBLAS-sharp.Tests/Backend/Algorithms/PageRank.fs index b88c9383..72f30025 100644 --- a/tests/GraphBLAS-sharp.Tests/Backend/Algorithms/PageRank.fs +++ b/tests/GraphBLAS-sharp.Tests/Backend/Algorithms/PageRank.fs @@ -51,7 +51,7 @@ let pageRankNaive (matrix: float32 [,]) = while (error > accuracy) do for r in 0 .. rowCount - 1 do - result [ r ] <- 0f + result.[r] <- 0f for c in 0 .. rowCount - 1 do result.[r] <- result.[r] + matrix.[r, c] * prev.[c]