Skip to content

Commit

Permalink
trac #31571: remove useless import
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Mar 27, 2021
1 parent eae2799 commit ad07e94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sage/graphs/graph_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,6 @@ def planar_graphs(self, order, minimum_degree=None,
edges = ''
if minimum_edges is None:
if maximum_edges is not None:
from math import ceil
if maximum_edges < order - 1:
raise ValueError("the number of edges cannot be less than order - 1")
edges = '-e:{}'.format(maximum_edges)
Expand Down

0 comments on commit ad07e94

Please sign in to comment.