Commit a00dc0dd authored by Christoph Groth's avatar Christoph Groth
Browse files

fix compilation with Cython 0.22

parent baa1561e
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment