[NumPy-Tickets] [NumPy] #2240: ma.polyfit function for masked arrays crashes on integer x-input
NumPy Trac
numpy-tickets@scipy....
Fri Nov 2 09:03:58 CDT 2012
#2240: ma.polyfit function for masked arrays crashes on integer x-input
------------------------------------+---------------------------------------
Reporter: Bartstra | Owner: pierregm
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.ma | Version: 1.6.2
Keywords: polyfit, integer input |
------------------------------------+---------------------------------------
ma.polyfit crashes when the x-input is type integer:
{{{
x = ma.arange(2)
y = ma.arange(2)
p1 = ma.polyfit(np.float32(x), y, deg=1) # this is OK
p2 = ma.polyfit( x , y, deg=1) # crashes
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2240>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list