16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

Merge pull request #1 from docentYT/fix-clamp-exception

Merge with fix-clamp-exception
This commit is contained in:
Christopher Kwiatkowski
2026-05-12 17:01:47 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -98,9 +98,9 @@ bool ClearFlag(int &Flag, int const Value)
}
}
double Random(double a, double b)
double Random(double min, double max)
{
std::uniform_real_distribution<double> dist(a, b);
std::uniform_real_distribution<double> dist(min, max);
return dist(Global.random_engine);
}