Hi,

Backward compatibility is not always guaranteed, and things need to move
forward.

The change for get_edges() is a just a matter of consistency, after the
function was generalized to return arbitrary properties as well (as
opposed to only the edge index).

The change for property maps never happened, since it was never possible
to access edge property maps with node tuples.

The git repository contains a very comprehensive list of changes, and
you can search there for modifications that may impact your use.

Best,
Tiago

Ps. Please do not post the same message multiple times to the mailing list.

Am 31.10.19 um 18:51 schrieb Adrien Dulac:
> Hello folks,
> 
> I've discovered, while trying to fix and 'never seen before' bug in my code, 
> after having installed graph-tool 2.29 from an Ubuntu repo, that some new
> features was not backward compatible.
> 
> For example, my error came from that fact that now, the function
> `get_edges` returns by default a `Nx2` matrix, whereas it used to return
> a `Nx3` matrix in prior version.
> 
> Another one is that edge property doesn't seem to accept node tuple anymore 
> (e.g. g.ep['weights'][i,j])
> 
> After a quick search on the doc, changelog and mailing list,  I didn't
> find mention of these changes, so I am wandering if there is a place to
> find such information, and if there may be other changes that affect the
> backward compatibility in new version ?
> 
> Regards,
> adrien
> 
> _______________________________________________
> graph-tool mailing list
> [email protected]
> https://lists.skewed.de/mailman/listinfo/graph-tool
> 


-- 
Tiago de Paula Peixoto <[email protected]>
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to