From 05bae4dd5f6eed94597f705d8cab8aaee44f970b Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Tue, 10 Jul 2018 17:20:58 +0200 Subject: [PATCH] Remove type assertion hack in mapreduce for skipmissing No longer needed since 25f91ab. --- base/missing.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/base/missing.jl b/base/missing.jl index 38322bee65b1e..dd829995d98cd 100644 --- a/base/missing.jl +++ b/base/missing.jl @@ -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