[Scipy-tickets] [SciPy] #357: Different failures/errors on 64 bit machines wrt odr

SciPy scipy-tickets at scipy.net
Wed Jan 24 02:28:35 CST 2007


#357: Different failures/errors on 64 bit machines wrt odr
--------------------+-------------------------------------------------------
 Reporter:  nils    |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:          
Component:  Other   |     Version:  devel   
 Severity:  normal  |    Keywords:          
--------------------+-------------------------------------------------------
 I get some failures/errors on 64 bit machines
 {{{
 ======================================================================
 FAIL: test_explicit (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-packages/scipy/odr/tests/test_odr.py",
 line 49, in test_explicit
     np.array([  1.2646548050648876e+03,  -5.4018409956678255e+01,
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 215, in assert_array_compare
     assert cond, msg
 AssertionError:
 Arrays are not almost equal

 (mismatch 100.0%)
  x: array([  1.26462971e+03,  -5.42545890e+01,  -8.64250389e-02])
  y: array([  1.26465481e+03,  -5.40184100e+01,  -8.78497122e-02])

 ======================================================================
 FAIL: test_multi (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-packages/scipy/odr/tests/test_odr.py",
 line 190, in test_multi
     np.array([ 4.3799880305938963,  2.4333057577497703,
 8.0028845899503978,
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 215, in assert_array_compare
     assert cond, msg
 AssertionError:
 Arrays are not almost equal

 (mismatch 100.0%)
  x: array([ 4.31272063,  2.44289312,  7.76215871,  0.55995622,
 0.46423343])
  y: array([ 4.37998803,  2.43330576,  8.00288459,  0.51011472,
 0.51739023])

 ----------------------------------------------------------------------
 }}}


 {{{
 ======================================================================
 ERROR: test_explicit (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.4/site-
 packages/scipy/odr/tests/test_odr.py", line 46, in test_explicit
     out = explicit_odr.run()
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 1049, in run
     self.output = Output(apply(odr, args, kwds))
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 576, in __init__
     self.stopreason = report_error(self.info)
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 139, in report_error
     stopreason = ('Blank',
 IndexError: tuple index out of range

 ======================================================================
 ERROR: test_implicit (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.4/site-
 packages/scipy/odr/tests/test_odr.py", line 91, in test_implicit
     out = implicit_odr.run()
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 1049, in run
     self.output = Output(apply(odr, args, kwds))
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 576, in __init__
     self.stopreason = report_error(self.info)
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 139, in report_error
     stopreason = ('Blank',
 IndexError: tuple index out of range

 ======================================================================
 ERROR: test_lorentz (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.4/site-
 packages/scipy/odr/tests/test_odr.py", line 291, in test_lorentz
     out = l_odr.run()
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 1049, in run
     self.output = Output(apply(odr, args, kwds))
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 576, in __init__
     self.stopreason = report_error(self.info)
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 139, in report_error
     stopreason = ('Blank',
 IndexError: tuple index out of range

 ======================================================================
 ERROR: test_multi (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.4/site-
 packages/scipy/odr/tests/test_odr.py", line 187, in test_multi
     out = multi_odr.run()
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 1049, in run
     self.output = Output(apply(odr, args, kwds))
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 576, in __init__
     self.stopreason = report_error(self.info)
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 139, in report_error
     stopreason = ('Blank',
 IndexError: tuple index out of range

 ======================================================================
 ERROR: test_pearson (scipy.tests.test_odr.test_odr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.4/site-
 packages/scipy/odr/tests/test_odr.py", line 235, in test_pearson
     out = p_odr.run()
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 1049, in run
     self.output = Output(apply(odr, args, kwds))
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 576, in __init__
     self.stopreason = report_error(self.info)
   File "/usr/local/lib64/python2.4/site-packages/scipy/odr/odrpack.py",
 line 139, in report_error
     stopreason = ('Blank',
 IndexError: tuple index out of range
 }}}


 BTW, I cannot find an entry odr in the list of components.

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


More information about the Scipy-tickets mailing list