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
f8827f6b
"git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "5418d93770f50eed571f2d267f9afdc71d9c3cd1"
Commit
f8827f6b
authored
Mar 17, 2019
by
Davis King
Browse files
Make test deterministic
parent
89fb5c2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dlib/test/matrix_chol.cpp
dlib/test/matrix_chol.cpp
+1
-2
No files found.
dlib/test/matrix_chol.cpp
View file @
f8827f6b
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
#include <sstream>
#include <sstream>
#include <string>
#include <string>
#include <cstdlib>
#include <cstdlib>
#include <ctime>
#include <vector>
#include <vector>
#include "../stl_checked.h"
#include "../stl_checked.h"
#include "../array.h"
#include "../array.h"
...
@@ -161,7 +160,7 @@ namespace
...
@@ -161,7 +160,7 @@ namespace
tester
(
"test_matrix_chol"
,
tester
(
"test_matrix_chol"
,
"Runs tests on the matrix cholesky component."
)
"Runs tests on the matrix cholesky component."
)
{
{
rnd
.
set_seed
(
cast_to_string
(
time
(
0
)));
//
rnd.set_seed(cast_to_string(time(0)));
}
}
void
perform_test
(
void
perform_test
(
...
...
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