Skip to content

Commit

Permalink
Minor in asp
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Sep 26, 2024
1 parent 4f6d656 commit 7cc3ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/asp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 7cc3ee8

Please sign in to comment.