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

SciPy scipy-tickets@scipy....
Sat May 5 04:17:46 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  |  
-------------------------------------------+--------------------------------
Changes (by nils):

  * version:  0.5.2 => devel

Comment:

 {{{
 ======================================================================
 ERROR: sum 11
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/ndimage/tests/test_ndimage.py", line 2814, in test_sum11
     index = 2)
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/ndimage/measurements.py", line 122, in sum
     raise ValueError("Index values cannot be of type int64/uint64.")
 ValueError: Index values cannot be of type int64/uint64.

 ======================================================================
 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 122, 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:3>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list