From 00a49a84e3bba4769792d91040ed5adde5feb6a5 Mon Sep 17 00:00:00 2001 From: Jakob Nybo Nissen Date: Wed, 11 Dec 2024 11:41:50 +0100 Subject: [PATCH] Typo --- src/basic.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/basic.jl b/src/basic.jl index 5179719..0ec45b2 100644 --- a/src/basic.jl +++ b/src/basic.jl @@ -152,10 +152,10 @@ end function Base.findnext( ::typeof(iszero), - mem::Union{MemoryViews.MemoryView{Int8}, MemoryViews.MemoryView{UInt8}}, + mem::Union{MemoryView{Int8}, MemoryView{UInt8}}, i::Integer, ) - _findnext(mem, zero(eltype(mem), i)) + _findnext(mem, zero(eltype(mem)), i) end Base.@propagate_inbounds function _findnext( @@ -212,10 +212,10 @@ end function Base.findprev( ::typeof(iszero), - mem::Union{MemoryViews.MemoryView{Int8}, MemoryViews.MemoryView{UInt8}}, + mem::Union{MemoryView{Int8}, MemoryView{UInt8}}, i::Integer, ) - _findprev(mem, zero(eltype(mem), i)) + _findprev(mem, zero(eltype(mem)), i) end Base.@propagate_inbounds function _findprev(