[mlpack] 133/149: Remove random seed to make test reproducible.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 52754b9dffba658f5bd6af713d7714743ffa76cf
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Dec 3 02:33:18 2014 +0000

    Remove random seed to make test reproducible.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17435 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/logistic_regression_test.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mlpack/tests/logistic_regression_test.cpp b/src/mlpack/tests/logistic_regression_test.cpp
index b6ef228..c3c319b 100644
--- a/src/mlpack/tests/logistic_regression_test.cpp
+++ b/src/mlpack/tests/logistic_regression_test.cpp
@@ -539,7 +539,6 @@ BOOST_AUTO_TEST_CASE(LogisticRegressionLBFGSRegularizationSimpleTest)
 // regularization.
 BOOST_AUTO_TEST_CASE(LogisticRegressionSGDRegularizationSimpleTest)
 {
-  math::RandomSeed(std::time(NULL));
   // Very simple fake dataset.
   arma::mat data("1 2 3;"
                  "1 2 3");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list