21 Feb
2014
21 Feb
'14
12:18 p.m.
On 02/21/2014 12:58 PM, Guillaume Gay wrote:
Hi Tiago, hi all,
When an edge is removed from a graph, it still occupies a place in the graphs EdgePropertyMap, leading to the following being |False|:
|edge_prop.a.shape[0] == graph.num_edges()|
Is there a way to circumvent this?
If you use a recent version from git, this can be obtained by getting the filtered array, with the .fa attribute: edge_prop.fa.shape[0] == graph.num_edges() Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>