Skip to content
  • Denis Laxalde's avatar
    [py3] Fix comparison of cardinality when maxc is graph_nodes.INFINITY · 1dd2faa2de16
    Denis Laxalde authored
    `max(maxc, maxvalue)` would evaluate to `max("Infinity", <some
    integer>)` when maxc is graph_nodes.INFINITY. While this works on
    python2 (by chance, since strings and integers can be compared), this
    does not on python3.
    
    We thus move the "if" that checks for graph_nodes.INFINITY inside the
    "for" loop.
    1dd2faa2de16