From fd89ee3ffaaeaeab55598d834ae0e6734f0142bf Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Mon, 14 Jun 2021 12:35:50 +0400 Subject: [PATCH] Update src/OffsetArrays.jl Co-authored-by: Johnny Chen --- src/OffsetArrays.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OffsetArrays.jl b/src/OffsetArrays.jl index c9563867..b49918ba 100644 --- a/src/OffsetArrays.jl +++ b/src/OffsetArrays.jl @@ -521,7 +521,7 @@ end # These methods are added to avoid ambiguities with Base. # The ones involving Base types should be ported to Base and version-limited here -@inline Base.getindex(r::IdentityUnitRange, s::IIUR) = _boundscheck_return(r, s) +@inline Base.getindex(r::IdentityUnitRange, s::IIUR) = _boundscheck_return(r, s) # FIXME: type piracy @inline Base.getindex(r::IdentityUnitRange, s::IdOffsetRange) = _boundscheck_return(r, s) if IdentityUnitRange !== Base.Slice @inline Base.getindex(r::Base.Slice, s::IIUR) = _boundscheck_return(r, s)