[Scipy-tickets] [SciPy] #1369: signal.medfilt failure on 64-bit Linux

SciPy Trac scipy-tickets@scipy....
Sun Jan 23 01:52:00 CST 2011


#1369: signal.medfilt failure on 64-bit Linux
--------------------------+-------------------------------------------------
 Reporter:  rgommers      |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:  0.10.0  
Component:  scipy.signal  |     Version:  devel   
 Keywords:  medfilt       |  
--------------------------+-------------------------------------------------
 Reported on two systems, fails with either one value different between
 arrays or with equal arrays (then it should be floating point comparison
 issue).

 Marked as knownfail in 0.9.0.

 {{{
 ======================================================================
 FAIL: test_basic (test_signaltools.TestMedFilt)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/bvr/Programs/scipy/scipy/signal/tests/test_signaltools.py",
 line 284, in test_basic
     [ 0,  7, 11,  7,  4,  4, 19, 19, 24,  0]])
   File "/home/bvr/Programs/numpy/numpy/testing/utils.py", line 686, in
 assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File "/home/bvr/Programs/numpy/numpy/testing/utils.py", line 618, in
 assert_array_compare
     raise AssertionError(msg)
 AssertionError:
 Arrays are not equal

 (mismatch 8.0%)
  x: array([[  0.,  50.,  50.,  50.,  42.,  15.,  15.,  18.,  27.,   0.],
        [  0.,  50.,  50.,  50.,  50.,  42.,  19.,  21.,  29.,   0.],
        [ 50.,  50.,  50.,  50.,  50.,  47.,  34.,  34.,  46.,  35.],...
  y: array([[ 0, 50, 50, 50, 42, 15, 15, 18, 27,  0],
        [ 0, 50, 50, 50, 50, 42, 19, 21, 29,  0],
        [50, 50, 50, 50, 50, 47, 34, 34, 46, 35],...
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1369>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list