Skip to content

Commit

Permalink
Update component_arrays.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Apr 30, 2024
1 parent b28b941 commit b65b2a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/cpu/component_arrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ using Krylov, ComponentArrays
for T in (Float32, Float64)
A = rand(T, n, n)

b = ComponentArrays{T}(a=[1, 2, 3], b=[4, 5])
b = ComponentVector{T}(a=[1, 2, 3], b=[4, 5])
@test Krylov.ktypeof(b) == Vector{T}
x, stats = gmres(A, b)
@test stats.solved

end
end

0 comments on commit b65b2a2

Please sign in to comment.