[SciPy-dev] NameError: global name 'array' is not defined

Damian Eads eads@soe.ucsc....
Mon Aug 25 11:51:59 CDT 2008


Hi,

This is due to a typo and I just fixed it. Do a SVN update.

Damian

Nils Wagner wrote:
> Damian,
> 
> you have introduced a new error.
> 
> ======================================================================
> ERROR: Tests pdist(X, 'canberra') to see if Canberra gives 
> the right result as reported in Scipy bug report 711.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File 
> "/usr/local/lib64/python2.5/site-packages/scipy/cluster/tests/test_distance.py", 
> line 961, in test_pdist_canberra_ticket_711
>      right_y = array([ 0.01492537])
> NameError: global name 'array' is not defined
>   
> Nils


More information about the Scipy-dev mailing list