On Jul 5, 1:22 am, Jaap Spies <[email protected]> wrote: > On Fedora 9, 32 bit: > > ---------------------------------------------------------------------- > The following tests failed: > > sage -t "devel/sage/sage/graphs/graph.py" > > sage -t "devel/sage/sage/graphs/graph.py" > ********************************************************************** > File "/home/jaap/downloads/sage-4.1.alpha2/devel/sage/sage/graphs/graph.py", > line 7144: > sage: T.spectrum() > Expected: > [1, -0.500000000000000? + 0.866025403784439?*I, -0.500000000000000? - > 0.866025403784439?*I] > Got: > [1, -0.50000000000000000? + 0.866025403784439?*I, -0.500000000000000? - > 0.866025403784439?*I] > ********************************************************************** > File "/home/jaap/downloads/sage-4.1.alpha2/devel/sage/sage/graphs/graph.py", > line 7272: > sage: T.eigenvectors() > Expected: > [(1, [ > (1, 1, 1) > ], 1), (-0.500000000000000? - 0.866025403784439?*I, [(1, > -0.500000000000000? - 0.866025403784439?*I, -0.500000000000000? + > 0.866025403784439?*I)], 1), > (-0.500000000000000? + 0.866025403784439?*I, [(1, -0.500000000000000? + > 0.866025403784439?*I, -0.500000000000000? - 0.866025403784439?*I)], 1)] > Got: > [(1, [ > (1, 1, 1) > ], 1), (-0.500000000000000? - 0.866025403784439?*I, [(1, > -0.500000000000000? - 0.866025403784439?*I, -0.500000000000000? + > 0.866025403784439?*I)], 1), > (-0.50000000000000000? + 0.866025403784439?*I, [(1, -0.50000000000000000? + > 0.866025403784439?*I, -0.50000000000000000? - 0.866025403784439?*I)], 1)] > ********************************************************************** > 2 items had failures: > 1 of 17 in __main__.example_145 > 1 of 9 in __main__.example_147 > ***Test Failed*** 2 failures.
This failure on 32-bit Fedora is on the eigenvalues of a graph that is a directed 3-cycle, thus ultimately it is the computation of the roots of the polynomial x^3+1. It is giving giving two more zeros on the real part of one eigenvalue, where the exact value is -1/2. Is the procedure now to adjust the doctest, or chase back the discrepancy in the computation of the root (to some routine over CIF, perhaps)? I can take care of the former, but not the latter. Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
