Skip to content

Permutations on Generic Objects #977

Answered by atifaziz
laurinpaech asked this question in Q&A
Discussion options

You must be logged in to vote

So looks like you indeed spotted a bug. It should be breaking/overflowing instead of returning the wrong result of a single permutation when the source sequence is over some length. In fact, I noticed that for sequences of length 13 and above, it returns the wrong number of permutations!

I have filed this as bug #978.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@laurinpaech
Comment options

Comment options

You must be logged in to vote
2 replies
@laurinpaech
Comment options

@atifaziz
Comment options

Answer selected by atifaziz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #976 on March 01, 2023 17:41.