[Numpy-tickets] [NumPy] #956: ====================================================================== ERROR: Tests the min/max functions with explicit outputs ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/python26/lib/python2.6/site-packages/numpy/ma/tests/test_core.py", line 688, in test_minmax_funcs_with_output result = npfunc(xm, axis=0, out=nout) File "/opt/python26/lib/python2.6/site-packages/numpy/core/fromnumeric.py", line 1525, in amin return amin(axis, out) File "/opt/python26/lib/python2.6/site-packages/numpy/ma/core.py", line 2882, in min np.putmask(out, newmask, np.nan) ValueError: cannot convert float NaN to integer

NumPy numpy-tickets@scipy....
Thu Nov 20 03:16:59 CST 2008


#956: ======================================================================
ERROR: Tests the min/max functions with explicit outputs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/python26/lib/python2.6/site-
packages/numpy/ma/tests/test_core.py", line 688, in
test_minmax_funcs_with_output
    result = npfunc(xm,axis=0,out=nout)
  File "/opt/python26/lib/python2.6/site-
packages/numpy/core/fromnumeric.py", line 1525, in amin
    return amin(axis, out)
  File "/opt/python26/lib/python2.6/site-packages/numpy/ma/core.py", line
2882, in min
    np.putmask(out, newmask, np.nan)
ValueError: cannot convert float NaN to integer
----------------------+-----------------------------------------------------
 Reporter:  cdavid    |       Owner:  pierregm
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  1.3.0   
Component:  numpy.ma  |     Version:  none    
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 Python 2.6 specific error:

 {{{
 ERROR: Tests the min/max functions with explicit outputs
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/export/bbc8/python2.6/lib/python2.6/site-
 packages/numpy/ma/tests/test_core.py", line 700, in
 test_minmax_funcs_with_output
     result = npfunc(xm,axis=0,out=nout)
   File "/export/bbc8/python2.6/stow/numpy.svn//lib/python2.6/site-
 packages/numpy/core/fromnumeric.py", line 1569, in amin
     return amin(axis, out)
   File "/export/bbc8/python2.6/stow/numpy.svn//lib/python2.6/site-
 packages/numpy/ma/core.py", line 3188, in min
     np.putmask(out, newmask, np.nan)
 ValueError: cannot convert float NaN to integer
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/956>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list