mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed a very small bias in rand::get_random_double()
This commit is contained in:
parent
3cffafad8c
commit
155bf30da9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user