Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Dec 11, 2024
1 parent 614bc39 commit 00a49a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 00a49a8

Please sign in to comment.