Skip to content

Commit a73c655

Browse files
committed
Add end statement for function tridiag_lu_decomp
1 parent b2c7c9b commit a73c655

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tridiag_lu_decomp.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@
5454
x(n) = z(n) / alpha(n);
5555
for i=n-1:-1:1
5656
x(i) = (z(i) - (c(i)*x(i+1)))/alpha(i);
57+
end
58+
5759
end

0 commit comments

Comments
 (0)