mabshoff wrote: > > > On Oct 13, 10:10 am, "William Stein" <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I've posted the first alpha release of sage-2.8.7 here: >> >> http://sage.math.washington.edu/tmp/ >> >> It is probably somewhat broken. Building it, contributing >> fixes, etc., would be greatly appreciated. > > Hello, > > building it went without a hitch, but there is trouble with the > doctests:
[snip] > ********************************************************************** > > sage -t devel/sage-main/sage/graphs/graph.py > ********************************************************************** > File "graph.py", line 2116: > sage: h.edges() > Expected: > [((2, 3, None), (3, 4, None), None), > ((1, 2, None), (2, 4, None), None), > ((1, 2, None), (2, 3, None), None), > ((1, 3, None), (3, 4, None), None)] > Got: > [((1, 3, None), (3, 4, None), None), ((2, 3, None), (3, 4, None), > None), ((1, 2, None), (2, 4, None), None), ((1, 2, None), (2, 3, > None), None)] > ********************************************************************** This is odd. The test passes on my Ubuntu 32-bit P4 system. It looks like the edges are returned in a different order for you, so the answer is correct, just output differently. I can't build the alpha right now, but someone that has the alpha built, can you see if the following code returns the indicated result? If so, we can change the doctest to the following. sage: g=DiGraph([[1..4], lambda i,j: i<j]) sage: h=g.line_graph() sage: h.vertices() [(1, 2, None), (1, 3, None), (1, 4, None), (2, 3, None), (2, 4, None), (3, 4, None)] sage: h.am() [0 0 0 1 1 0] [0 0 0 0 0 1] [0 0 0 0 0 0] [0 0 0 0 0 1] [0 0 0 0 0 0] [0 0 0 0 0 0] Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---