16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00
Files
maszyna/utilities
maj00r 5fce417a51 fix: guard Random/LocalRandom against inverted min>max bounds
std::uniform_real/int_distribution has UB when min>max. The old "fancy Random"
used interpolate(a,b,t) which tolerated a>b; the migration to
std::uniform_real_distribution did not, and only one inverted call site was
fixed by hand. Swap the bounds inside Random()/Random(int)/LocalRandom() so
every call site is safe, and reorder the two inverted literal calls in
Driver.cpp (fActionTime buzzer / departure delay) for readability.
2026-07-02 00:37:52 +02:00
..
2026-06-30 21:19:46 +02:00
2026-05-02 14:40:31 +02:00
2026-04-27 23:03:47 +02:00
2026-06-30 21:19:46 +02:00
2026-06-30 21:19:46 +02:00
2026-06-30 21:19:46 +02:00
2026-05-12 16:36:32 +02:00