Changes between Version 9 and Version 11 of Ticket #27027


Ignore:
Timestamp:
01/07/19 11:43:14 (2 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27027

    • Property Status changed from new to needs_review
  • Ticket #27027 – Description

    v9 v11  
    1212}}}
    1313
     14This broke several functions which did assume a particular ordering for `G.relabel(perm=None)`. Those are fixed by using `G.relabel(perm=range(G.order()))` instead.
     15
    1416Furthermore, we allow arbitrary iterables to be given for relabeling instead of only `list` and `tuple`. This improves things with Python 3 where `range()` becomes an iterator.