Skip to content

Commit 1ea20e0

Browse files
authored
fix: update src/TracedRArray.jl
1 parent 9daca04 commit 1ea20e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TracedRArray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ function Base._cat(dims, A::TracedRArray{T,N}, Bs::TracedRArray...) where {T,N}
788788
return Res
789789
end
790790

791-
function maybe_expand_dims(x::AbstractArray, dims) where {T,N}
791+
function maybe_expand_dims(x::AbstractArray{T,N}, dims) where {T,N}
792792
dims = dispatch_val(dims)
793793
dims N && return x
794794
return reshape(x, ntuple(i -> i N ? size(x, i) : 1, dims))

0 commit comments

Comments
 (0)