[mlpack] 116/207: Remove stray random seed.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Mar 23 17:53:46 UTC 2017


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

bap pushed a commit to branch master
in repository mlpack.

commit 11906d920fb7b1af6e001354d808446bce368fd7
Author: Ryan Curtin <ryan at ratml.org>
Date:   Sun Mar 5 21:11:08 2017 -0500

    Remove stray random seed.
---
 src/mlpack/tests/distribution_test.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mlpack/tests/distribution_test.cpp b/src/mlpack/tests/distribution_test.cpp
index aeea937..91cac02 100644
--- a/src/mlpack/tests/distribution_test.cpp
+++ b/src/mlpack/tests/distribution_test.cpp
@@ -788,7 +788,6 @@ BOOST_AUTO_TEST_CASE(GammaDistributionTrainTwoDistProbabilities1Test)
  */
 BOOST_AUTO_TEST_CASE(GammaDistributionFittingTest)
 {
-  math::RandomSeed(std::time(NULL));
   // Offset from the actual alpha/beta. 10% is quite a relaxed tolerance since
   // the random points we generate are few (for test speed) and might be fitted
   // better by a similar distribution.

-- 
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