[Numpy-discussion] short circuit != ?

Nathaniel Smith njs@pobox....
Wed Oct 27 09:41:47 CDT 2010


On Wed, Oct 27, 2010 at 7:34 AM, Neal Becker <ndbecker2@gmail.com> wrote:
> I propose adding is_equal(a,b) function which does true short-ciruciting

You could use np.allclose, I guess. (It isn't short-circuiting right
now, but you could fix that.)

-- Nathaniel


More information about the NumPy-Discussion mailing list