#13546: Bug in is_perfect
-------------------------------------------+--------------------------------
Reporter: azi | Owner: jason, ncohen, rlm
Type: defect | Status: new
Priority: critical | Milestone: sage-5.5
Component: graph theory | Resolution:
Keywords: is_perfect,graph theory | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jernej Azarija | Merged in:
Dependencies: | Stopgaps:
-------------------------------------------+--------------------------------
Comment (by ncohen):
Ahahaahah... Stupid bug `:-)`
Ok, it is now fixed by the following patch. Here's what it does :
* It tests if the graph's complement is bipartite. Just a potential
speed improvement.
* Returns a result immediately if the girth is odd and > 3, and not
only if it is equal to 5
And ... more importantly `:-D`
* replaces an occurrence of ``self`` which should have been
``self_complement`` from the beginning `:-DDDDDDD`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13546#comment:4>
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.