[Scipy-tickets] [SciPy] #410: scipy.ndimage.sum crashes Python when index is dtype int64

SciPy scipy-tickets@scipy....
Sat May 5 04:57:37 CDT 2007


#410: scipy.ndimage.sum crashes Python when index is dtype int64
-------------------------------------------+--------------------------------
 Reporter:  socha                          |        Owner:  somebody
     Type:  defect                         |       Status:  closed  
 Priority:  normal                         |    Milestone:          
Component:  scipy.ndimage                  |      Version:  devel   
 Severity:  normal                         |   Resolution:  fixed   
 Keywords:  ndimage sum crash index int64  |  
-------------------------------------------+--------------------------------
Comment (by nils):

 Persists in revision 0.5.3.dev2965
 {{{
 ======================================================================
 ERROR: sum 12
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/ndimage/tests/test_ndimage.py", line 2823, in test_sum12
     index = [4, 8, 2])
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/ndimage/measurements.py", line 126, in sum
     raise ValueError("Index values cannot be of type int64/uint64.")
 ValueError: Index values cannot be of type int64/uint64.
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/410#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