Skip to content

Commit

Permalink
Merge pull request #13866 from JuliaLang/sjk/array-vectorize
Browse files Browse the repository at this point in the history
Vectorize `@ inbounds for x in A ...`
  • Loading branch information
simonster committed Nov 4, 2015
2 parents 3c8f45c + fa89a6e commit 1d270c6
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 @@ -265,7 +265,7 @@ collect(itr) = collect(eltype(itr), itr)
## Iteration ##
start(A::Array) = 1
next(a::Array,i) = (a[i],i+1)
done(a::Array,i) = (i > length(a))
done(a::Array,i) = i == length(a)+1

## Indexing: getindex ##

Expand Down

0 comments on commit 1d270c6

Please sign in to comment.