From e1c4a9e1a0ba4d7fc6c3139a2797bcea5e5b9ef6 Mon Sep 17 00:00:00 2001 From: ezrannetttty <122359130+ezrannetttty@users.noreply.github.com> Date: Sun, 1 Oct 2023 03:43:04 +0800 Subject: [PATCH] fixed an error in the implementation of parallel algorithm 2 --- notebooks/matrix_matrix.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/matrix_matrix.ipynb b/notebooks/matrix_matrix.ipynb index 1cc299c..1685c7d 100644 --- a/notebooks/matrix_matrix.ipynb +++ b/notebooks/matrix_matrix.ipynb @@ -712,7 +712,7 @@ " iw += 1\n", " w = workers()[iw]\n", " ftr = @spawnat w begin\n", - " Ci = fill(z,l)\n", + " Ci = fill(z,n)\n", " for j in 1:n\n", " for k in 1:l\n", " @inbounds Ci[j] += Ai[k]*B[k,j]\n",