Skip to content

Commit ab51dbe

Browse files
authored
Remove unnecessary specialized axistype method (#311)
1 parent ec8c7f5 commit ab51dbe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/blockbroadcast.jl

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ sortedunion(a::Base.OneTo, b::Base.OneTo) = Base.OneTo(max(last(a),last(b)))
3434
sortedunion(a::AbstractUnitRange, b::AbstractUnitRange) = min(first(a),first(b)):max(last(a),last(b))
3535
combine_blockaxes(a, b) = _BlockedUnitRange(sortedunion(blocklasts(a), blocklasts(b)))
3636

37-
Base.Broadcast.axistype(a::T, b::T) where T<:BlockedUnitRange = length(b) == 1 ? a : combine_blockaxes(a, b)
3837
Base.Broadcast.axistype(a::BlockedUnitRange, b::BlockedUnitRange) = length(b) == 1 ? a : combine_blockaxes(a, b)
3938
Base.Broadcast.axistype(a::BlockedUnitRange, b) = length(b) == 1 ? a : combine_blockaxes(a, b)
4039
Base.Broadcast.axistype(a, b::BlockedUnitRange) = length(b) == 1 ? a : combine_blockaxes(a, b)

0 commit comments

Comments
 (0)