[SciPy-dev] ERROR: test_hdquantiles (test_mmorestats.TestQuantiles)

Nils Wagner nwagner@iam.uni-stuttgart...
Tue May 6 11:30:20 CDT 2008


Hi all,
  

I discovered a new error wrt scipy.test()

======================================================================
ERROR: test_hdquantiles (test_mmorestats.TestQuantiles)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/stats/tests/test_mmorestats.py", 
line 86, in test_hdquantiles
     hdq = mms.hdquantiles_sd(data,[0.25, 0.5, 0.75])
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/stats/mmorestats.py", 
line 167, in hdquantiles_sd
     result = _hdsd_1D(data.compressed(), p)
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/stats/mmorestats.py", 
line 143, in _hdsd_1D
     xsorted = np.sort(data.compressed())
AttributeError: 'numpy.ndarray' object has no attribute 
'compressed'

Cheers,
           Nils




More information about the Scipy-dev mailing list