Skip to content

Commit

Permalink
STY: miss_hit
Browse files Browse the repository at this point in the history
  • Loading branch information
jhabriel committed Aug 29, 2024
1 parent 91052c0 commit b636bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_lgmres.m
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function test_full_gmres_when_m_equals_size_of_A()
[x2, flag, relresvec, kdvec, time] = lgmres(A, b, 3, 0);

assertElementsAlmostEqual(x1, x2);
assertEqual(kdvec, [3; 3])
assertEqual(kdvec, [3; 3]);
assert(flag == 1);
assertElementsAlmostEqual(relresvec, [1; 0]);
assert(time > 0 && time < 5);
Expand Down Expand Up @@ -210,7 +210,7 @@ function test_outputs_unrestarted_identity_matrix() % Linear system # 1
% Compare with expected outputs
assertElementsAlmostEqual(x, ones(n, 1));
assert(flag == 1);
assertEqual(kdvec, [m+l; m+l]);
assertEqual(kdvec, [m + l; m + l]);
assertElementsAlmostEqual(relresvec, [1; 0]);
assert(time > 0 && time < 5);
end
Expand Down

0 comments on commit b636bbe

Please sign in to comment.