We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would expect all(iszero.(x)) to be true.
all(iszero.(x))
true
julia> x = Ones{Int}(0) 0-element Ones{Int64,1,Tuple{Base.OneTo{Int64}}} julia> all(iszero.(x)) false julia> y = ones(Int, 0) 0-element Array{Int64,1} julia> all(iszero.(y)) true
The text was updated successfully, but these errors were encountered:
Yes you are right, it should match the following:
julia> all(iszero.(Int[])) true julia> any(iszero.(Int[])) false
I'll merge a PR.
Sorry, something went wrong.
This seems fixed on master
No branches or pull requests
I would expect
all(iszero.(x))
to betrue
.The text was updated successfully, but these errors were encountered: