Skip to content

Commit 1ee536e

Browse files
Update basictests.jl
1 parent 21827b3 commit 1ee536e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/basictests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,3 +459,10 @@ end
459459
end
460460
end
461461
end # testset
462+
463+
# https://github.com/SciML/LinearSolve.jl/issues/347
464+
A = rand(4, 4); b = rand(4); u0 = zeros(4);
465+
lp = LinearProblem(A, b; u0 = view(u0, :));
466+
truesol = solve(lp, LUFactorization())
467+
krylovsol = solve(lp, KrylovJL_GMRES())
468+
@test truesol krylovsol

0 commit comments

Comments
 (0)