The initializers for both arrays should set all values to zero, so the square root of the subtraction should be zero as well. The fact that they're boolean arrays shouldn't matter since the values will be upcasted to 0.0.