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
No related branches found
Tags v1.0.4
No related merge requests found
......@@ -72,7 +72,7 @@ cdef class Graph:
raise MemoryError
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.
Parameters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment