Would anyone please help me with this Boolean related error?

You didn’t broadcast the &&. Importantly, you can’t broadcast the && until 1.7 (which is in beta stage). It’s trying to do a boolean comparison with the vector result of A .> -20. But it can only compare booleans.

You want

map(A, B) do a, b
    (a > -20) && (b >= 15)
end 
2 Likes