Skip to content

Commit fc05f1d

Browse files
committed
Fix simultaneous merge issue between JuliaLang#19724 and JuliaLang#19922.
1 parent 13da0b9 commit fc05f1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/sparse/higherorderfns.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.
77
import 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

1111
using Base: front, tail, to_shape
@@ -843,7 +843,7 @@ end
843843
# broadcast shape promotion for combinations of sparse arrays and other types
844844
broadcast_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
848848
promote_containertype(::Type{Any}, ::Type{AbstractSparseArray}) = AbstractSparseArray
849849
promote_containertype(::Type{AbstractSparseArray}, ::Type{Any}) = AbstractSparseArray

0 commit comments

Comments
 (0)