[SciPy-dev] NameError: global name 'sp' is not defined in r3302

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Sep 5 12:17:05 CDT 2007


Hi all,

A name error was introduced with the recent changes.

======================================================================
ERROR: check_get_submatrix 
(scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/sparse/tests/test_sparse.py", 
line 645, in check_get_submatrix
     a = sp.csr_matrix( array([[1,2,3],[1,2,3],[0,2,0]]) )
NameError: global name 'sp' is not defined
  
Cheers,
          Nils


More information about the Scipy-dev mailing list