Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Repair iter_method

  • Loading branch information...
commit 590a75eef3bf9c6a88d3e758f1a9b280aaf343e3 1 parent c5124af
@Paulche authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lab5/iter_method.m
View
6 lab5/iter_method.m
@@ -6,9 +6,9 @@
[B c] = iter(A,b);
for i = 1:n
- r = B * x + c;
- serial(i+1,:) = r;
+ x = B * x + c;
+ serial(i+1,:) = x;
end
- solution = r;
+ solution = x;
end
Please sign in to comment.
Something went wrong with that request. Please try again.