You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use find* functions with UInt8 arrays, I found PR 37283.
In news.md, it says that "findfirst, findnext, findlast, and findall" support it, but it is wrong.
It is supported by findprev also and not by findall.
>VERSIONv"1.7.2"> a =rand(UInt8, 2);
> b =rand(UInt8, 10);
>findfirst(a, b)
>findprev(a, b, 10)
>findall(a, b)
ERROR: MethodError: no method matching findall(::Vector{UInt8}, ::Vector{UInt8})
Closest candidates are:findall(::Base.Fix2{typeof(in), <:Union{Real, Array{<:Real}}}, ::Array{<:Real}) at /usr/share/julia/base/array.jl:2417findall(::Base.Fix2{typeof(in)}, ::AbstractArray) at /usr/share/julia/base/array.jl:2426findall(::Function, ::AbstractArray) at /usr/share/julia/base/array.jl:2257...
The text was updated successfully, but these errors were encountered:
Trying to use find* functions with UInt8 arrays, I found PR 37283.
In news.md, it says that "findfirst, findnext, findlast, and findall" support it, but it is wrong.
It is supported by
findprev
also and not byfindall
.The text was updated successfully, but these errors were encountered: