From cc9417939343cd0ad546c95dd259f8933af405bc Mon Sep 17 00:00:00 2001 From: OtacilioNeto Date: Tue, 7 Nov 2017 16:27:54 -0300 Subject: [PATCH] Fix issue https://github.com/davisking/dlib/issues/925 (#928) * This fix suggested by davisking make unit tests more reliable. Fix issue https://github.com/davisking/dlib/issues/925 * This fix suggested by davisking make unit tests more reliable. Fix issue https://github.com/davisking/dlib/issues/925 --- dlib/test/dnn.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dlib/test/dnn.cpp b/dlib/test/dnn.cpp index 703b89ec6..62a384aef 100644 --- a/dlib/test/dnn.cpp +++ b/dlib/test/dnn.cpp @@ -2120,6 +2120,7 @@ namespace void test_simple_linear_regression_with_mult_prev() { + srand(1234); print_spinner(); const int num_samples = 1000; ::std::vector> x(num_samples);