Skip to content

Commit 6f0989d

Browse files
committed
Fix type piracy of 0-arg cat
1 parent 8cb003b commit 6f0989d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/combine.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sizes(As::AxisArray...) = tuple(zip(map(a -> map(length, Base.axes(a)), As)...).
1313
matchingdims(As::Tuple{Vararg{AxisArray}}) = all(equalvalued, sizes(As...))
1414
matchingdimsexcept(As::Tuple{Vararg{AxisArray}}, n::Int) = all(equalvalued, sizes(As...)[[1:n-1; n+1:end]])
1515

16-
Base.cat(As::AxisArray{T}...; dims) where {T} = _cat(dims, As...)
16+
Base.cat(A1::AxisArray{T}, As::AxisArray{T}...; dims) where {T} = _cat(dims, A1, As...)
1717
_cat(::Val{n}, As...) where {n} = _cat(n, As...)
1818

1919
@inline function _cat(n::Integer, As...)

0 commit comments

Comments
 (0)