#11910: Connectivity of complete graphs
----------------------------+-----------------------------------------------
Reporter: ncohen | Owner: jason, ncohen, rlm
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.8
Component: graph theory | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Jason Grout | Author: Nathann Cohen
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Changes (by jason):
* reviewer: => Jason Grout
Comment:
When testing on sage-4.8.alpha3, I get this (presumably from #11367):
{{{
sage -t "devel/sage-main/sage/graphs/generic_graph.py"
Exception MemoryError: MemoryError() in
'sage.graphs.distances_all_pairs.c_eccentricity' ignored
Exception MemoryError: MemoryError() in
'sage.graphs.distances_all_pairs.c_eccentricity' ignored
**********************************************************************
File "/home/grout/sage-trees/sage-4.8.alpha3/devel/sage-
main/sage/graphs/generic_graph.py", line 6805:
sage: g.vertex_connectivity()
Expected:
9.0
Got:
9
**********************************************************************
1 items had failures:
1 of 21 in __main__.example_84
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/grout/.sage//tmp/generic_graph_22844.py
[63.6 s]
----------------------------------------------------------------------
The following tests failed:
sage -t "devel/sage-main/sage/graphs/generic_graph.py"
Total time for all tests: 63.6 seconds
}}}
Other than that, the code looks good. The MemoryErrors look interesting,
though. I don't think it's from this patch, but do you have any idea what
it could be from?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11910#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.