[Numpy-discussion] Test error with ATLAS, Windows 64 bit

Matthew Brett matthew.brett at gmail.com
Mon Apr 14 14:59:31 EDT 2014


Hi,

With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for
Windows 64-bit, and latest stable ATLAS.

It works fine, apart from the following test failure:

======================================================================
FAIL: test_special (test_umath.TestExpm1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\numpy\core\tests\test_umath.py",
line 329, in test_special
    assert_equal(ncu.expm1(-0.), -0.)
  File "C:\Python27\lib\site-packages\numpy\testing\utils.py", line
311, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: 0.0
 DESIRED: -0.0

Has anyone seen this?  Is it in fact necessary that expm1(-0.) return
-0 instead of 0?

Thanks a lot,

Matthew



More information about the NumPy-Discussion mailing list