[Numpy-discussion] short circuit != ?

Nathaniel Smith njs at pobox.com
Wed Oct 27 10:41:47 EDT 2010


On Wed, Oct 27, 2010 at 7:34 AM, Neal Becker <ndbecker2 at 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