Cycle 0 list = [] ?
bitterjug opened this issue · comments
Mark Skipper commented
If the cycle length is zero, shouldn't we be returning a list of length zero?
Line 205 in 7ae12a5
Chadtech commented
Yes, and I think that is the case, because cycleLength
comes from the List.length
of input list. So when cycleLength
is zero, the input list is returned, which was necessarily an empty list.