np.where calculates both branches, while the positz-indexed code does not.