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
julia> A = [1:5]
5-element Array{Int64,1}:
1
2
3
4
5
julia> any(A.>3)
true
julia> any(A.>3,1)
ERROR: no method any(Bool,Bool)
in _F_ at array.jl:332
in reducedim at array.jl:1483
in any at abstractarray.jl:1367
julia> versioninfo()
Julia Version 0.2.0-prerelease+3919
Commit 22ca3b1* 2013-10-04 04:34:54 UTC
Platform Info:
System: Linux (x86_64-linux-gnu)
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
The text was updated successfully, but these errors were encountered:
I'm pretty unhappy with the state of reductions (see #4235), except for +,sum and *,prod, which benefit from the existence of two names. any and all have some of the same problems as max and min (though not the hideous max(A, (), dim) methods).
The text was updated successfully, but these errors were encountered: