Skip to content

Commit

Permalink
Remove an @inbounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Ferris committed Dec 5, 2018
1 parent cf30558 commit 41222bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ julia> filter(isodd, a)
9
```
"""
filter(f, As::AbstractArray) = @inbounds As[map(f, As)::AbstractArray{Bool}]
filter(f, As::AbstractArray) = As[map(f, As)::AbstractArray{Bool}]

"""
filter!(f, a::AbstractVector)
Expand Down

0 comments on commit 41222bd

Please sign in to comment.