clear_edges not working
On 2.22 (commit 44bf2b92, Thu Mar 2 23:08:39 2017 +0000)
, with Python 3.5.2, the following code:
import graph_tool
g = graph_tool.Graph()
g.add_vertex(10)
g.add_edge_list([(0,1), (2,4)])
print(g.num_edges())
g.clear_edges()
print(g.num_edges())
Prints 2 and 2: edges are not cleared.