#5932: graphs.RandomRegular(3,10) often returns a graph on 0 vertices
--------------------------+-------------------------------------------------
Reporter: was | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-4.0
Component: graph theory | Keywords:
--------------------------+-------------------------------------------------
Comment(by rlm):
This is a bug in NetworkX. Their docstring says:
{{{
Definition: networkx.random_regular_graph(d, n, seed=None)
Source:
def random_regular_graph(d, n, seed=None):
"""Return a random regular graph of n nodes each with degree d,
G_{n,d}.
Return False if unsuccessful.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5932#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---