mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 04:28:36 -04:00
Fix an off-by-one defect in WSPR random scheduling
Scheduler now correctly honours 0% and 100% schedules an dno longer need special cases in UI code.
This commit is contained in:
parent
f7377e686f
commit
7cc7687c90
@ -220,7 +220,7 @@ public:
|
||||
, carry_ {false}
|
||||
, seed_ {{rand (), rand (), rand (), rand (), rand (), rand (), rand (), rand ()}}
|
||||
, gen_ {seed_}
|
||||
, dist_ {1, 100}
|
||||
, dist_ {0, 99}
|
||||
{
|
||||
auto num_bands = configuration_->bands ()->rowCount ();
|
||||
for (auto& flags : bands_)
|
||||
|
Loading…
Reference in New Issue
Block a user