[Numpy-discussion] Bug (?) in numpy 19.0 under win32

T.Meyarivan mary at iitk.ac.in
Wed Apr 18 15:36:36 CDT 2001


Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> from Numeric import *
>>> from LinearAlgebra import *
>>> a = array([[1,0],[0,1]])
>>> print a, type(a)
[[1 0]
 [0 1]] <type 'array'>
>>> eigenvectors(a)
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in ?
    eigenvectors(a)
  File "c:\program files\python21\numeric\LinearAlgebra.py", line 151, in
eigenvectors
    dummy, 1, vr, n, work, lwork, 0)
LapackError: Expected an array for parameter a in lapack_dge.dgeev
>>> 

the above test works fine under unix environment using the same version
of python and numpy








More information about the Numpy-discussion mailing list