[Numpy-discussion] NameError: global name 'matrix' is not defined

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Sep 16 11:39:27 CDT 2009


Ran 2235 tests in 25.593s

FAILED (KNOWNFAIL=1, errors=28, failures=1)
<nose.result.TextTestResult run=2235 errors=28 failures=1>
>>> import numpy
>>> numpy.__version__
'1.4.0.dev7400'

======================================================================
ERROR: test_basic (test_defmatrix.TestAlgebra)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/tests/test_defmatrix.py", 
line 190, in test_basic
     mA = matrix(A)
NameError: global name 'matrix' is not defined



More information about the NumPy-Discussion mailing list