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
49c32f0f
Commit
49c32f0f
authored
Jan 21, 2012
by
Davis King
Browse files
Made test slightly more robust.
parent
f7cb3882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/rand.cpp
dlib/test/rand.cpp
+1
-1
No files found.
dlib/test/rand.cpp
View file @
49c32f0f
...
...
@@ -175,7 +175,7 @@ namespace
for
(
int
i
=
0
;
i
<
1000
;
++
i
)
{
DLIB_TEST
(
r
.
get_random_32bit_number
()
==
r2
.
get_random_32bit_number
());
DLIB_TEST
(
std
::
abs
(
r
.
get_random_gaussian
()
-
r2
.
get_random_gaussian
())
<
1e-1
5
);
DLIB_TEST
(
std
::
abs
(
r
.
get_random_gaussian
()
-
r2
.
get_random_gaussian
())
<
1e-1
4
);
}
}
...
...
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