Skip to content

Commit

Permalink
remove stale broadcasted_indices:
Browse files Browse the repository at this point in the history
- referenced non-extant `indices`
- `broadcasted_indices` was deprecated to `broadcasted_axes` in JuliaLang/julia#25377
- `broadcasted_axes` was then replaced by plain `axes` JuliaLang/julia@a2feccf
- StaticArrays already has `axes` methods
  • Loading branch information
thchr committed Mar 10, 2022
1 parent ec2dc5e commit ad57e41
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ _bcs1(a::Base.OneTo, b::SOneTo) = _bcs1(a, Base.OneTo(b))
## Internal broadcast machinery for StaticArrays ##
###################################################

broadcast_indices(A::StaticArray) = indices(A)

# TODO: just use map(broadcast_size, as)?
@inline broadcast_sizes(a, as...) = (broadcast_size(a), broadcast_sizes(as...)...)
@inline broadcast_sizes() = ()
Expand Down

0 comments on commit ad57e41

Please sign in to comment.