X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fmath%2FGaloisLFSR.hpp;h=f9a881c9db32aa2d40ebe9a79adce35c176ce41f;hp=e2f39ebb5110eb348ea26f57dcb377933a0ee5e6;hb=062538c008af86ddb9a9fa2302c1571140e15467;hpb=200f9da6241613a1c19431896b09d1715c262c6d diff --git a/src/math/GaloisLFSR.hpp b/src/math/GaloisLFSR.hpp index e2f39eb..f9a881c 100644 --- a/src/math/GaloisLFSR.hpp +++ b/src/math/GaloisLFSR.hpp @@ -60,7 +60,7 @@ public: } double UNorm() noexcept { - return double(Next()) * (1.0 / double(std::numeric_limits::max())); + return double(Next()) * (1.0 / double(std::numeric_limits::max())); } unsigned int UInt(unsigned int below) noexcept {