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",