Skip to content

Commit

Permalink
Remove type assertion hack in mapreduce for skipmissing
Browse files Browse the repository at this point in the history
No longer needed since  25f91ab.
  • Loading branch information
nalimilan authored Jul 10, 2018
1 parent 25f91ab commit 05bae4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions base/missing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ mapreduce_impl(f, op, A::SkipMissing, ifirst::Integer, ilast::Integer) =
end
i > ilast && return Some(mapreduce_first(f, op, a1))
a2 = ai::eltype(itr)
# Unexpectedly, the following assertion allows SIMD instructions to be emitted
A[i]::eltype(itr)
i += 1
v = op(f(a1), f(a2))
@simd for i = i:ilast
Expand Down

0 comments on commit 05bae4d

Please sign in to comment.