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 <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
