"git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "5418d93770f50eed571f2d267f9afdc71d9c3cd1"
Commit f8827f6b authored by Davis King's avatar Davis King
Browse files

Make test deterministic

parent 89fb5c2e
...@@ -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 (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment