Hi,

Sage3.2.alpha2 built fine on my Intel Core2 Duo Mac OS X 10.4.11 /
Xcode 2.5.

Due most probably to the patch from trac ticket #788, several doctests
throw numerical noise errors.
Here are the first ones (doctesting is not complete yet):

sage -t -long devel/sage/sage/calculus/calculus.py
**********************************************************************
File "/Users/georgweber/Public/sage/sage-3.2.alpha2/tmp/calculus.py",
line 120:
    sage: float(f(pi))
Expected:
    6.1232339957367663e-16
Got:
    6.1230317691118863e-16
**********************************************************************
1 items had failures:
   1 of  76 in __main__.example_0
***Test Failed*** 1 failures.
For whitespace errors, see the file /Users/georgweber/Public/sage/
sage-3.2.alpha2/tmp/.doctest_calculus.py
         [76.7 s]

sage -t -long devel/sage/sage/calculus/wester.py
**********************************************************************
File "/Users/georgweber/Public/sage/sage-3.2.alpha2/tmp/wester.py",
line 261:
    : [float(f(i/10)) for i in range(1,5)]
Expected:
    <BLANKLINE>
    [-0.00033670040754082975,
     -0.0027778004096620235,
     -0.0098909940914040928,
     -0.025411145508414501]
Got:
    [-0.00033670040754082975, -0.0027778004096620235,
-0.0098909940914040373, -0.025411145508414501]
**********************************************************************
1 items had failures:
   1 of 193 in __main__.example_0
***Test Failed*** 1 failures.
For whitespace errors, see the file /Users/georgweber/Public/sage/
sage-3.2.alpha2/tmp/.doctest_wester.py
         [13.9 s]

sage -t -long devel/sage/sage/matrix/
matrix_complex_double_dense.pyx**********************************************************************
File "/Users/georgweber/Public/sage/sage-3.2.alpha2/tmp/
matrix_complex_double_dense.py", line 899:
    sage: U*S*V.transpose()
Expected:
    [...e-1...                1.0]
    [               2.0                3.0]
    [               4.0                5.0]
Got:
    [  0 1.0]
    [2.0 3.0]
    [4.0 5.0]
**********************************************************************
1 items had failures:
   1 of  18 in __main__.example_15
***Test Failed*** 1 failures.
For whitespace errors, see the file /Users/georgweber/Public/sage/
sage-3.2.alpha2/tmp/.doctest_matrix_complex_double_dense.py
         [4.3 s]

sage -t -long devel/sage/sage/matrix/
matrix_real_double_dense.pyx**********************************************************************
File "/Users/georgweber/Public/sage/sage-3.2.alpha2/tmp/
matrix_real_double_dense.py", line 786:
    sage: U*S*V.transpose()
Expected:
    [...e-1...               1.0               2.0]
    [              3.0               4.0               5.0]
Got:
    [0.0 1.0 2.0]
    [3.0 4.0 5.0]
**********************************************************************
File "/Users/georgweber/Public/sage/sage-3.2.alpha2/tmp/
matrix_real_double_dense.py", line 794:
    sage: U*S*V.transpose()
Expected:
    [...e-1...                1.0]
    [               2.0                3.0]
    [               4.0                5.0]
Got:
    [0.0 1.0]
    [2.0 3.0]
    [4.0 5.0]
**********************************************************************
1 items had failures:
   2 of  22 in __main__.example_16
***Test Failed*** 2 failures.
For whitespace errors, see the file /Users/georgweber/Public/sage/
sage-3.2.alpha2/tmp/.doctest_matrix_real_double_dense.py
         [3.4 s]

I think it's strange that in the complex matrix case, the upper left
entry is "0", and in the real matrix case it is "0.0".
Should we have different trac tickets be opened for every file, or
should we have one big "#788 follow-up" ticket?

Cheers,
gsw
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to