[Scipy-tickets] [SciPy] #723: scipy.interpolate still uses old numeric api

SciPy scipy-tickets@scipy....
Mon Oct 6 23:32:13 CDT 2008


#723: scipy.interpolate still uses old numeric api
-------------------------------+--------------------------------------------
 Reporter:  zachrahan          |        Owner:  somebody
     Type:  defect             |       Status:  new     
 Priority:  normal             |    Milestone:          
Component:  scipy.interpolate  |      Version:  devel   
 Severity:  normal             |   Resolution:          
 Keywords:                     |  
-------------------------------+--------------------------------------------
Comment (by charris):

 I think fixes like this:

 {{{
 +    npy_intp dim1 = (npy_intp) n; \

 }}}

 of which there are several, are a bad idea. The type of n needs to be
 changed at the origin, changing it by a cast and copy is a bandaid that
 hides a deeper problem.

 The macro the example comes from isn't very nice, either, the n should
 really be a parameter. But that's a problem for another day...

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


More information about the Scipy-tickets mailing list