Skip to content

Commit 438a519

Browse files
committed
Set OffsetArrays lower bound and remove pirated unsafe_convert definition
1 parent 043cc7e commit 438a519

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/mapreduce.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ function _vmapreduce(f::F, op::OP, ::StaticInt{W}, N, ::Type{T}, args::Vararg{De
6565
end
6666
vreduce(op, a_0)
6767
end
68-
6968
@inline vmapreduce(f, op, args...) = mapreduce(f, op, args...)
7069

7170
length_one_axis(::Base.OneTo) = Base.OneTo(1)

test/offsetarrays.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ using LoopVectorization: Static
33
# T = Float64; r = -1:1;
44
# T = Float32; r = -1:1;
55

6-
# TODO: remove this once this PR merges: https://github.com/JuliaArrays/OffsetArrays.jl/pull/170
7-
@inline Base.unsafe_convert(::Type{Ptr{T}}, A::OffsetArray{T}) where {T} = pointer(parent(A))
86

97
@testset "OffsetArrays" begin
108

0 commit comments

Comments
 (0)