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

Commit

Permalink
typo: 3-vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
mo271 committed Aug 18, 2017
1 parent d7cea7f commit 356d3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -5020,7 +5020,7 @@ def planar_dual(self, embedding=None):
sage: G.planar_dual()
Traceback (most recent call last):
...
NotImplementedError: Finding the planar_dual is only works if the graph is at least 3 vertex-connected.
NotImplementedError: Finding the planar_dual is only works if the graph is at least 3-vertex-connected.

.. TODO::

Expand All @@ -5033,7 +5033,7 @@ def planar_dual(self, embedding=None):
self._scream_if_not_simple()

if self.vertex_connectivity() < 3:
raise NotImplementedError("Finding the planar_dual is only works if the graph is at least 3 vertex-connected.")
raise NotImplementedError("Finding the planar_dual is only works if the graph is at least 3-vertex-connected.")
from . import graph
return graph.Graph([[tuple(_) for _ in self.faces()], lambda f,g: not set([tuple(reversed(e)) for e in f]).isdisjoint(g)], loops=False)

Expand Down

0 comments on commit 356d3ac

Please sign in to comment.