The methods mark_node and mark_grid_nodes return void.
This causes a problem when building in Raspbian, which uses older versions of the libraries (e.g., cython 0.21.1). The error message is: Cannot convert 'void' to Python object. The solution is to simply remove the return keyword in those methods.
PyMaxflow currently builds correctly on my Mac using cython 0.24
The methods
mark_node
andmark_grid_nodes
return void. This causes a problem when building in Raspbian, which uses older versions of the libraries (e.g., cython 0.21.1). The error message is:Cannot convert 'void' to Python object
. The solution is to simply remove thereturn
keyword in those methods.PyMaxflow currently builds correctly on my Mac using cython 0.24