Skip to content

Commit 9ab6921

Browse files
committed
Remove later constant propagation changes
1 parent 58a6b17 commit 9ab6921

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sparsevector.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,8 +1085,7 @@ _makesparse(x::Number) = x
10851085
_makesparse(x::AbstractVector) = convert(SparseVector, issparse(x) ? x : sparse(x))::SparseVector
10861086
_makesparse(x::AbstractMatrix) = convert(SparseMatrixCSC, issparse(x) ? x : sparse(x))::SparseMatrixCSC
10871087

1088-
# `@constprop :aggressive` allows `dims` to be propagated as constant improving return type inference
1089-
Base.@constprop :aggressive function Base._cat(dims, Xin::_SparseConcatGroup...)
1088+
function Base._cat(dims, Xin::_SparseConcatGroup...)
10901089
X = (_sparse(first(Xin)), map(_makesparse, Base.tail(Xin))...)
10911090
T = promote_eltype(Xin...)
10921091
Base.cat_t(T, X...; dims=dims)

0 commit comments

Comments
 (0)