From 7cc3ee80d5311f6b95d815caeadfc55add1863b8 Mon Sep 17 00:00:00 2001 From: Francesc Verdugo Date: Thu, 26 Sep 2024 10:59:05 +0200 Subject: [PATCH] Minor in asp --- notebooks/asp.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/asp.ipynb b/notebooks/asp.ipynb index 5c6a5e5..9188920 100644 --- a/notebooks/asp.ipynb +++ b/notebooks/asp.ipynb @@ -57,7 +57,7 @@ "function q1_answer(bool)\n", " bool || return\n", " msg = \"\"\"\n", - " The we can change the loop order over i and j without changing the result. Rememebr:\n", + " The we can change the loop order over i and j without changing the result. Rememeber:\n", " \n", " C[i,j] = min(C[i,j],C[i,k]+C[k,j])\n", " \n", @@ -858,7 +858,7 @@ " P = MPI.Comm_size(comm)\n", " lb = L*rank+1\n", " ub = L*(rank+1)\n", - " C_k = similar(C,N)\n", + " C_k = similar(myC,N)\n", " for k in 1:N\n", " if (lb<=k) && (k<=ub)\n", " # Send row k to other workers if I have it\n",