From: Travis O. <oli...@ee...> - 2006-10-26 23:56:51
|
Damien Miller wrote: >Hi, > >I have just got around to updating OpenBSD's numpy port from 1.0b1 to >1.0 and am running into the following regress failure: > > > >>.........................................................................................................................................................................................................................................................Warning: overflow encountered in exp >>F....................................................................................................................................................................................................................................................................... >>====================================================================== >>FAIL: Ticket #112 >>---------------------------------------------------------------------- >>Traceback (most recent call last): >> File "/usr/ports/math/py-numpy/w-py-numpy-1.0/fake-i386/usr/local/lib/python2.4/site-packages/numpy/core/tests/test_regression.py", line 220, in check_longfloat_repr >> assert(str(a)[1:9] == str(a[0])[:8]) >>AssertionError >> >>---------------------------------------------------------------------- >>Ran 513 tests in 3.471s >> >>FAILED (failures=1) >> >> > >The variable 'a' seems to contain '[Inf]', so the failure appears related to >the overflow warning. > >Any clues on how I can debug this further? > > Unless you want to help with tracking how long double is interpreted on several platforms, then just ignore the test. (It actually wasn't being run in 1.0b1). -Travis |