[SciPy-dev] linear_least_squares problem

Alan G Isaac aisaac at american.edu
Sun Dec 11 14:20:07 EST 2005


The basic_lite the function linear_least_squares 
begins with the statements: 
    a = asndarray(a) 
    b = asndarary(b) 

The first produces an error:
File "C:\Python24\lib\site-packages\scipy\basic\basic_lite.py", 
line 414, in linear_least_squares a = asndarray(a) 
NameError: global name 'asndarray' is not defined 

The second is in any case misspelled.

Changing both to asarray allows the function to work;
is it the right solution?

Alan Isaac 





More information about the SciPy-Dev mailing list