DusanKasan/Knapsack

partition with -1 as step doesn't work as intended

Opened this issue · 0 comments

Despite the default parameter of the partition() function for step being -1 according to the signature (in collection_functions.php), the step is used as -1 and the test fails.

It should be clear that 0 is the default parameter value.