Fixed a very small bias in rand::get_random_double()

This commit is contained in:
Davis King 2017-12-04 12:29:51 -05:00
parent 3cffafad8c
commit 155bf30da9

View File

@ -288,7 +288,7 @@ namespace dlib
max_val = 0xFFFFFF;
max_val *= 0x1000000;
max_val += 0xFFFFFF;
max_val += 0.01;
max_val += 0.05;
has_gaussian = false;