Logical operators in julia

Are you updating from Julia 0.5 to 1.0? If so, it might make sense to go in steps via 0.6 and 0.7 as those will give you deprecation warnings and tell you how to upgrade your code; or at least when you hit raod-blocks. In Julia 0.6 this gave:

julia> trues(2) & trues(2)
WARNING: A::AbstractArray & B::AbstractArray is deprecated, use A .& B instead.

See also PSA: use Julia 0.7 if you are upgrading

2 Likes