[SciPy-dev] 0.8.0.dev5656 test_pbdv bug
Xavier Gnata
xavier.gnata at gmail.com
Wed Apr 15 16:13:26 EDT 2009
Pauli Virtanen wrote:
> Mon, 13 Apr 2009 19:38:04 +0200, Xavier Gnata wrote:
>
>
>> Hi,
>>
>> This bug is still present in 0.8.0.dev5656:
>>
>> ======================================================================
>> FAIL: test_pbdv (test_basic.TestCephes)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib/python2.6/dist-packages/scipy/special/tests/
>>
> test_basic.py",
>
>> line 370, in
>> test_pbdv
>>
> [clip]
>
> Should be fixed in r5658. There was at least a likely off-by-one memory
> overflow issue in the PBDV wrappers.
>
> Please test the most recent SVN version to see if it works now as
> expected.
>
>
'0.8.0.dev5661' and there is still a bug:
======================================================================
FAIL: test_pbdv (test_basic.TestCephes)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 370, in
test_pbdv
assert_equal(cephes.pbdv(1,0),(0.0,0.0))
File "/usr/local/lib/python2.6/dist-packages/numpy/testing/utils.py",
line 182, in assert_equal
assert_equal(actual[k], desired[k], 'item=%r\n%s' % (k,err_msg),
verbose)
File "/usr/local/lib/python2.6/dist-packages/numpy/testing/utils.py",
line 189, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
item=1
ACTUAL: 1.0
DESIRED: 0.0
BWT, is there a way to compile scipy/numpy in debug mode and to run it
under valgrind?
Xavier
More information about the SciPy-Dev
mailing list