File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module HigherOrderFns
55# This module provides higher order functions specialized for sparse arrays,
66# particularly map[!]/broadcast[!] for SparseVectors and SparseMatrixCSCs at present.
77import Base: map, map!, broadcast, broadcast!
8- import Base. Broadcast: containertype , promote_containertype,
8+ import Base. Broadcast: _containertype , promote_containertype,
99 broadcast_indices, broadcast_c, broadcast_c!
1010
1111using Base: front, tail, to_shape
843843# broadcast shape promotion for combinations of sparse arrays and other types
844844broadcast_indices (:: Type{AbstractSparseArray} , A) = indices (A)
845845# broadcast container type promotion for combinations of sparse arrays and other types
846- containertype {T<:SparseVecOrMat} (:: Type{T} ) = AbstractSparseArray
846+ _containertype {T<:SparseVecOrMat} (:: Type{T} ) = AbstractSparseArray
847847# combinations of sparse arrays with broadcast scalars should yield sparse arrays
848848promote_containertype (:: Type{Any} , :: Type{AbstractSparseArray} ) = AbstractSparseArray
849849promote_containertype (:: Type{AbstractSparseArray} , :: Type{Any} ) = AbstractSparseArray
You can’t perform that action at this time.
0 commit comments