Skip to content

Commit 27ea202

Browse files
committed
use more type stable cat_t implementation
After JuliaLang/julia#45028, it will be more recommended to use this more type stable version of `cat_t`.
1 parent f8ffbb7 commit 27ea202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparsevector.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ _makesparse(x::AbstractArray) = SparseMatrixCSC(issparse(x) ? x : sparse(x))
10811081
function Base._cat(dims, Xin::_SparseConcatGroup...)
10821082
X = map(_makesparse, Xin)
10831083
T = promote_eltype(Xin...)
1084-
Base.cat_t(T, X...; dims=dims)
1084+
Base._cat_t(dims, T, X...)
10851085
end
10861086
function hcat(Xin::_SparseConcatGroup...)
10871087
X = map(_makesparse, Xin)

0 commit comments

Comments
 (0)