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:
Bill Somerville 2020-08-15 02:45:25 +01:00
parent f7377e686f
commit 7cc7687c90
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 1 additions and 1 deletions

View File

@ -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_)