[Scipy-tickets] [SciPy] #783: bisplrep segfault with kx=3, ky=3, s=0

SciPy scipy-tickets@scipy....
Sun Nov 9 17:49:04 CST 2008

#783: bisplrep segfault with kx=3, ky=3, s=0
 Reporter:  mauger             |        Owner:  somebody
     Type:  defect             |       Status:  new     
 Priority:  normal             |    Milestone:  0.7.0   
Component:  scipy.interpolate  |      Version:          
 Severity:  normal             |   Resolution:          
 Keywords:                     |  
Changes (by pv):

  * milestone:  => 0.7.0


 I get this instead:
 scipy version: 0.7.0.dev5031
 numpy version: 1.3.0.dev5991
 Test 1 - smoothing spline
 packages/scipy/interpolate/fitpack.py:760: DeprecationWarning: integer
 argument expected, got float
 Test 2 - kx=3, ky=1 interpolating spline
 Test 3 - kx=3, ky=3 interpolating spline
 Warning:     No more knots can be added because the number of B-spline
     already exceeds the number of data points m. Probably causes: either
     s or m too small. (fp>s)
         kx,ky=3,3 nx,ny=19,20 m=231 fp=0.000000 s=0.000000
 But no crash (tested on a 32-bit and a 64-bit system).

 On the other hand, I don't think there are any substantial changes in the
 code since 0.6.0 that would affect this. I know that there are other
 crasher bugs in fitpack related to too many points that don't appear on
 all machines -- eg. #776 might be related.

 It might be useful to check if this is still present with the development
 version of Scipy.

Ticket URL: <http://scipy.org/scipy/scipy/ticket/783#comment:1>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list