[SciPy-user] Possible bug in linalg.lu

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Jul 14 09:29:18 EDT 2003


Hi all,

>>> C
array([[ 3.003+0.j,  1.   +0.j,  0.   +0.j,  0.   +0.j],
       [ 3.   +0.j,  3.003+0.j,  2.   +0.j,  0.   +0.j],
       [ 0.   +0.j,  2.   +0.j,  3.003+0.j,  3.   +0.j],
       [ 0.   +0.j,  0.   +0.j,  1.   +0.j,  2.   +0.j]])
>>> linalg.lu(C)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.1/site-packages/scipy/linalg/decomp.py",
line 238, in lu
    p,l,u,info = flu(a1,permute_l=permute_l,overwrite_a = overwrite_a)
TypeError: object of type 'None' is not callable
>>>

For what reason ?

Nils




More information about the SciPy-User mailing list