[SciPy-user] linear_least_squares: OverFlow error

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:
massimo.sandal@...898...

tel: +39-051-2094388
fax: +39-051-2094387