mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 12:52:28 -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}
|
, carry_ {false}
|
||||||
, seed_ {{rand (), rand (), rand (), rand (), rand (), rand (), rand (), rand ()}}
|
, seed_ {{rand (), rand (), rand (), rand (), rand (), rand (), rand (), rand ()}}
|
||||||
, gen_ {seed_}
|
, gen_ {seed_}
|
||||||
, dist_ {1, 100}
|
, dist_ {0, 99}
|
||||||
{
|
{
|
||||||
auto num_bands = configuration_->bands ()->rowCount ();
|
auto num_bands = configuration_->bands ()->rowCount ();
|
||||||
for (auto& flags : bands_)
|
for (auto& flags : bands_)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user