klocey / partitions

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

supply k=None for first_lexical? #23

Closed smichr closed 3 years ago

smichr commented 8 years ago

If the args were changed to first_lexical(q, n, k=None) it would make that routine a little easier to use since it would then automatically give the correct starting value without having to think about what k will be.

def first_lexical(q, n, k) -> def first_lexical(q, n, k=None)
klocey commented 3 years ago

@smichr Thanks very much for the issues you raised. I haven't used this repo or its code in years and, so, didn't see your comments. Now that I'm taking up another integer partitioning project, I'll be sure to consider your comments.

klocey commented 3 years ago

Done. Thanks @smichr.