You're welcome. Thanks for the update and this wonderful tool :) 

On Thu, Aug 24, 2017 at 4:46 PM, Yu Zheng <[hidden email]> wrote:
You're welcome. Thanks for the update and this wonderful tool :) 

On Thu, Aug 24, 2017 at 3:56 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <[hidden email]> wrote:
On 23.08.2017 20:08, Yu Zheng wrote:

> Sure thing! This is the sample graph I've created, using the code at the end
> of this message: 
>
>
> Here are a couple of observations:
>
>  1. get_in_neighbours() worked fine prior to purging the edges. 
>  2. But once the edges are purged, the problem arises. Vertex 2, 3 and 4
>     should all have in neighbor 5, but g.get_in_neighbour(v) returns their
>     own vertex index. 
>  3. get_in_edges() is working as intended. 
>
Thanks for the example. As it turns out this is a bug that occurs only for
filtered graphs. I have now fixed it in git.

Best,
Tiago

--
Tiago de Paula Peixoto <[hidden email]>


_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool

signature.asc (849 bytes) Download Attachment
--
Tiago de Paula Peixoto <[hidden email]>



To unsubscribe from get_in_neighbours() and get_in_edges() output do not match, click here.
NAML




View this message in context: Re: get_in_neighbours() and get_in_edges() output do not match
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.