We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a6b17 commit 9ab6921Copy full SHA for 9ab6921
src/sparsevector.jl
@@ -1085,8 +1085,7 @@ _makesparse(x::Number) = x
1085
_makesparse(x::AbstractVector) = convert(SparseVector, issparse(x) ? x : sparse(x))::SparseVector
1086
_makesparse(x::AbstractMatrix) = convert(SparseMatrixCSC, issparse(x) ? x : sparse(x))::SparseMatrixCSC
1087
1088
-# `@constprop :aggressive` allows `dims` to be propagated as constant improving return type inference
1089
-Base.@constprop :aggressive function Base._cat(dims, Xin::_SparseConcatGroup...)
+function Base._cat(dims, Xin::_SparseConcatGroup...)
1090
X = (_sparse(first(Xin)), map(_makesparse, Base.tail(Xin))...)
1091
T = promote_eltype(Xin...)
1092
Base.cat_t(T, X...; dims=dims)
0 commit comments