fix: gendummydata: ensure valid range for num voters
When only generating a few packages, the code was brittle in clamping the rand range to 0,0 which is invalid. Make sure to always clamp within a valid range of 0,1 which fixes the issue no matter the voting probability option as well as the total package count options.
Loading
Please sign in to comment