Incorrect handling of empty arrays in `any`
jishnub opened this issue · comments
Jishnu Bhattacharya commented
julia> any(iszero, Ones(0))
true
This seems wrong, as
julia> Ones(0) == Int[]
true
julia> any(iszero, Int[])
false
Julia package for lazily representing matrices filled with a single entry
jishnub opened this issue · comments
julia> any(iszero, Ones(0))
true
This seems wrong, as
julia> Ones(0) == Int[]
true
julia> any(iszero, Int[])
false