Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #19253: remove case n==0 in randomsemicomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Sep 20, 2015
1 parent e45b71b commit 61ca216
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sage/graphs/digraph_generators.py
Expand Up @@ -1288,8 +1288,6 @@ def RandomSemiComplete(self, n):
* :meth:`~sage.graphs.digraph_generator.DiGraphGenerators.RandomTournament`
"""
G = DiGraph(n, name="Random Semi-Complete digraph")
if n==0:
return G

# For each pair u,v we choose a randon number ``coin`` in [1,3].
# We select edge `(u,v)` if `coin==1` or `coin==2`.
Expand Down

0 comments on commit 61ca216

Please sign in to comment.