Skip to content

Commit 38aa3c0

Browse files
authored
Update test/multinomials.jl
1 parent 2ddfe36 commit 38aa3c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/multinomials.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ using LinearAlgebra
2626
@test [multiexponents(3, 3)...] == [[3, 0, 0], [2, 1, 0], [2, 0, 1], [1, 2, 0], [1, 1, 1], [1, 0, 2], [0, 3, 0], [0, 2, 1], [0, 1, 2], [0, 0, 3]]
2727

2828
# type-stability
29-
@test typeof([multiexponents(1, 1)...]) == typeof([[1]])
30-
@test eltype(multiexponents(1, 1)) == eltype([[1]])
29+
@test typeof([multiexponents(1, 1)...]) == Vector{Vector{Int}}
30+
@test eltype(multiexponents(1, 1)) == Vector{Int}
3131
end

0 commit comments

Comments
 (0)