Skip to content

Commit 3376d56

Browse files
fix: fix indexing test
1 parent b927080 commit 3376d56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/downstream/symbol_indexing.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ end
9393
@test length(sol[(lorenz1.x, lorenz2.x)]) == length(sol)
9494
@test all(length.(sol[(lorenz1.x, lorenz2.x)]) .== 2)
9595

96-
@test sol[[lorenz1.x, lorenz2.x], :] isa Matrix{Float64}
97-
@test size(sol[[lorenz1.x, lorenz2.x], :]) == (2, length(sol))
98-
@test size(sol[[lorenz1.x, lorenz2.x], :]) == size(sol[[1, 2], :]) == size(sol[1:2, :])
96+
@test sol[[lorenz1.x, lorenz2.x], :] isa Vector{Vector{Float64}}
97+
@test length(sol[[lorenz1.x, lorenz2.x], :]) == length(sol)
98+
@test length(sol[[lorenz1.x, lorenz2.x], :][1]) == 2
9999

100100
@variables q(t)[1:2] = [1.0, 2.0]
101101
eqs = [D(q[1]) ~ 2q[1]

0 commit comments

Comments
 (0)