[SciPy-user] Possible bug wrt bmat

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu May 12 09:12:38 EDT 2005


Hi all,

 >>> from scipy import *
numerix Numeric 24.0b2
 >>> I = identity(2)
 >>> I
array([[1, 0],
       [0, 1]])
 >>> bmat(r_[c_[I,I],c_[I,I]])
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File 
"/usr/local/lib/python2.4/site-packages/scipy_base/matrix_base.py", line 
136, in bmat
    return Matrix.Matrix(obj)
  File "/usr/local/lib/python2.4/site-packages/scipy_base/ppimport.py", 
line 102, in __getattr__
    return getattr(attr, name)
AttributeError: class Matrix has no attribute 'Matrix'

I guess it's a bug.

Am I missing something ?

Nils

 





More information about the SciPy-User mailing list