Re: [Numpy-discussion] assert_equal(-0.0, 0.0) fails.

2014-04-14 Thread Ralf Gommers
On Mon, Apr 14, 2014 at 1:09 PM, Warren Weckesser < warren.weckes...@gmail.com> wrote: > The test function numpy.testing.assert_equal fails when comparing -0.0 and > 0.0: > > In [16]: np.testing.assert_equal(-0.0, 0.0) > --- >

[Numpy-discussion] assert_equal(-0.0, 0.0) fails.

2014-04-14 Thread Warren Weckesser
The test function numpy.testing.assert_equal fails when comparing -0.0 and 0.0: In [16]: np.testing.assert_equal(-0.0, 0.0) --- AssertionErrorTraceback (most recent call last) in () > 1 np.test