alito/becca — comment on commit ba7faf13bc6857c5d14e6cfa2431bde926f959b9
File:  line 0
By matt2000:

This doesn't seem to work for scalars at least:

>>> (np.sign(-0.5) != np.sign(0.5)).nonzero()
()
>>> (np.sign(-0.5) != np.sign(-0.5)).nonzero()
()
>>> (np.sign(0.5) != np.sign(0.5)).nonzero()
()
>>> (np.sign(0.5) == np.sign(0.5)).nonzero()
()
>>> (np.sign(-0.5) == np.sign(0.5)).nonzero()
()