Issue #6 new

FROM-CYCLES can produce invalid permutations

Robert Smith
repo owner created an issue

from-cycles can produce invalid permutations for overlapping cycles, which can e.g. cause to-cycles to not terminate.

PERM> (from-cycles (list (make-cycle 6 7)
                         (make-cycle 2 4 5)
                         (make-cycle 1 9 4 8)))
#<PERM 9 4 3 8 2 7 6 1 4> ; Invalid
PERM> (to-cycles *)
... ; Does not terminate

Comments (0)

  1. Log in to comment