Skip to content

Commit b531283

Browse files
committed
Typo: Column loop start index
1 parent 640888b commit b531283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/06_Direct_methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ begin
439439
* $L_{kk} = 1$
440440
* for $i = k+1, \ldots, n$ $\quad$ *(Loop over rows)*
441441
- $L_{ik} = \frac{A_{ik}^{(k)}}{A^{(k)}_{kk}}$
442-
- for $j = k+1, \ldots n$ $\quad$ *(Loop over columns)*
442+
- for $j = k, \ldots n$ $\quad$ *(Loop over columns)*
443443
* $A_{ij}^{(k+1)} = A_{ij}^{(k)} - L_{ik} A_{kj}^{(k)}$
444444
- $L_{nn} = 1$ $\quad$ *(the loop above only runs until $n-1$)*
445445
- $\textbf U = \textbf A^{(n)}$

0 commit comments

Comments
 (0)