Skip to content

Commit 09eb646

Browse files
authored
Fix Aqua unbound arg error (#247)
* Fix tests * Fix unbound args error on `Combination`
1 parent 37b1c65 commit 09eb646

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/basecol.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ function Combination(A::Union{AbstractVector{T}, AbstractMatrix{T}}...) where {T
1313
Combination{T}(A, cumsum([size(x, 2) for x in A]))
1414
end
1515

16+
Combination() = error("`Combination` requires at least one argument")
17+
1618
Base.size(c::Combination) = (size(c.A[1], 1), c.cumlength[end])
1719
Base.size(c::Combination, i::Integer) = size(c)[i]
1820

0 commit comments

Comments
 (0)