Hi,
I upgraded today to latest numpy (0.9.8) and matplotlib (0.87.3).
I still have the same error (upgraded code in snippet):
---------
import matplotlib.numerix as nx
contact_x_points=nx.array(x_points[left_bound:right_bound])
contact_y_points=nx.array(y_points[left_bound:right_bound])
A=nx.ones((len(contact_x_points),2))
A[:,0]=contact_x_points
result=nx.linalg.lstsq(A,contact_y_points)
---------
...but when I run, it crashes with:
>> result=nx.linalg.lstsq(A, contact_y_points)
>> File "/usr/lib/python2.4/site-packages/numpy/linalg/linalg.py",
line >> 457, in lstsq
>> nlvl = max( 0, int( math.log( float(min( m,n ))/2. ) ) + 1 )
>> OverflowError: math range error
any hint?
m.
--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"
snail mail:
Via Irnerio 48, 40126 Bologna, Italy
email:
[EMAIL PROTECTED]
tel: +39-051-2094388
fax: +39-051-2094387
begin:vcard
fn:Massimo Sandal
n:Sandal;Massimo
org:University of Bologna;Department of Biochemistry
adr:;;Via Irnerio 48;Bologna;;40126;Italy
email;internet:[EMAIL PROTECTED]
tel;work:+39-051-2094388
tel;fax:+39-051-2094387
x-mozilla-html:FALSE
version:2.1
end:vcard
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users