Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
155bf30d
Commit
155bf30d
authored
Dec 04, 2017
by
Davis King
Browse files
Fixed a very small bias in rand::get_random_double()
parent
3cffafad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/rand/rand_kernel_1.h
dlib/rand/rand_kernel_1.h
+1
-1
No files found.
dlib/rand/rand_kernel_1.h
View file @
155bf30d
...
...
@@ -288,7 +288,7 @@ namespace dlib
max_val
=
0xFFFFFF
;
max_val
*=
0x1000000
;
max_val
+=
0xFFFFFF
;
max_val
+=
0.0
1
;
max_val
+=
0.0
5
;
has_gaussian
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment