[mlpack-git] master: WIP: fix one test case (70cec2a)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:13:27 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit 70cec2a73e6c280b7ecd94d5d2fd4a79aaabea23
Author: Stephen Tu <stephent at berkeley.edu>
Date:   Tue Jan 20 14:10:48 2015 -0800

    WIP: fix one test case


>---------------------------------------------------------------

70cec2a73e6c280b7ecd94d5d2fd4a79aaabea23
 src/mlpack/tests/distribution_test.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mlpack/tests/distribution_test.cpp b/src/mlpack/tests/distribution_test.cpp
index fc04c1a..2ff1eb0 100644
--- a/src/mlpack/tests/distribution_test.cpp
+++ b/src/mlpack/tests/distribution_test.cpp
@@ -140,6 +140,8 @@ BOOST_AUTO_TEST_CASE(GaussianDistributionDistributionConstructor)
 
   mean.randu();
   covariance.randu();
+  covariance *= covariance.t();
+  covariance += arma::eye<arma::mat>(3, 3);
 
   GaussianDistribution d(mean, covariance);
 



More information about the mlpack-git mailing list