#10953: is_regular yields StopIterator error on empty graph
----------------------------+-----------------------------------------------
Reporter: pgdx | Owner: jason, ncohen, rlm
Type: defect | Status: needs_review
Priority: minor | Milestone:
Component: graph theory | Keywords: regular is_regular empty graph
iterator
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Comment(by mjo):
Almost! Would you mind moving the comment to its own line? There's nothing
wrong with it at the moment, but in-line comments like that are given
special treatment (e.g. #long, #optional, #todo...) so I think they should
be avoided to prevent unexpected interactions.
Also: I find regularity defined "for all vertices..." so it is vacuously
true that the empty graph is k-regular for any k.
I'm running a full ptestlong with the patch, and don't expect any
problems.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10953#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.