Skip to content
Snippets Groups Projects
Commit a00dc0dd authored by Christoph Groth's avatar Christoph Groth
Browse files

fix compilation with Cython 0.22

parent baa1561e
Branches
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ cdef class Graph: ...@@ -72,7 +72,7 @@ cdef class Graph:
raise MemoryError raise MemoryError
self.capacity = capacity self.capacity = capacity
cpdef gint add_edge(self, gint tail, gint head): cpdef gint add_edge(self, gint tail, gint head) except -1:
"""Add the directed edge (`tail`, `head`) to the graph. """Add the directed edge (`tail`, `head`) to the graph.
Parameters Parameters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment