klocey / partitions

python based code for integer partitioning
4 stars 4 forks source link

Q,N -> q,n #19

Closed smichr closed 3 years ago

smichr commented 8 years ago

At this line the Q and N should be changed to q and n.

test:

assert rand_partitions(3, 2, 1) == [[2, 1]]
klocey commented 3 years ago

Fixed. Thanks!