math.combinatorics: fix selections bug that went missing before previous commit.
parent
b93dab1533
commit
9d35cd9048
|
@ -255,7 +255,7 @@ PRIVATE>
|
||||||
1 seq length 1 - [
|
1 seq length 1 - [
|
||||||
over 0 =
|
over 0 =
|
||||||
] [
|
] [
|
||||||
[ seq [ + n /mod ] change-nth-unsafe ] keep
|
[ seq [ + n /mod ] change-nth-unsafe ] keep 1 -
|
||||||
] do until 2drop ; inline
|
] do until 2drop ; inline
|
||||||
|
|
||||||
:: (selections) ( seq n -- selections )
|
:: (selections) ( seq n -- selections )
|
||||||
|
|
Loading…
Reference in New Issue