Skip to content

Commit 2f16986

Browse files
Saatvik RaosaatvikraoIITGN
authored andcommitted
fixed test case
1 parent a6510b9 commit 2f16986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/graphs/orientations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def acyclic_orientations(G):
101101
Test for arbitary vertex labels::
102102
103103
sage: g_str = Graph([('abc', 'def'), ('ghi', 'def'), ('xyz', 'abc'), ('xyz', 'uvw'), ('uvw', 'abc'), ('uvw', 'ghi')])
104-
sage: it = acyclic_orientations(G_str)
104+
sage: it = g_str.acyclic_orientations()
105105
sage: len(list(it))
106106
42
107107
"""

0 commit comments

Comments
 (0)