[Scipy-tickets] [SciPy] #534: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

SciPy scipy-tickets@scipy....
Tue Nov 6 01:31:34 CST 2007


#534: ValueError: The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all()
----------------------+-----------------------------------------------------
 Reporter:  nils      |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  0.7     
Component:  scipy.io  |     Version:  devel   
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 {{{
 python /data/home/nwagner/local/lib64/python2.3/site-
 packages/scipy/io/tests/test_mio.py
 Traceback (most recent call last):
   File "/data/home/nwagner/local/lib64/python2.3/site-
 packages/scipy/io/tests/test_mio.py", line 25, in ?
     class TestMIOArray(NumpyTestCase):
   File "/data/home/nwagner/local/lib64/python2.3/site-
 packages/scipy/io/tests/test_mio.py", line 235, in TestMIOArray
     format = case in case_table4 and '4' or '5'
 ValueError: The truth value of an array with more than one element is
 ambiguous. Use a.any() or a.all()
 }}}

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


More information about the Scipy-tickets mailing list