#13599: Bugfix in is_cartesian_product
----------------------------+-----------------------------------------------
Reporter: ncohen | Owner: jason, ncohen, rlm
Type: defect | Status: new
Priority: major | Milestone: sage-5.5
Component: graph theory | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors: Nathann Cohen
Merged in: | Dependencies:
Stopgaps: |
----------------------------+-----------------------------------------------
Helloooooooooo everybody !!!
Georgi Guninski reported by email the following bug :
{{{
sage: g = graphs.WagnerGraph()
sage: g.is_cartesian_product()
ValueError: Something weird happened during the algorithm... Please report
the bug and give us the graph instance that made it fail !!!
}}}
Well, it is not very bad as the ``is_cartesian_product`` function is made
to return only results that it can check for correction, so an exception
is raised when the algorithm sees something wrong.
Anyway. I opened another book which told me what I should add to fix this
bug, and the patch that follows fixes it. I'm glad when working on Sage
teaches me some graph theory `:-)`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13599>
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.