[mlpack] 127/324: * error in SVDBatchTest resolved

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:02 UTC 2014


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

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

commit 3cb09d75018cf12efe930285489d8d8930b85c58
Author: sumedhghaisas <sumedhghaisas at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Sun Jul 6 16:55:42 2014 +0000

    * error in SVDBatchTest resolved
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16765 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/svd_test.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/mlpack/tests/svd_test.cpp b/src/mlpack/tests/svd_test.cpp
index ab2e9d3..9b9f03f 100644
--- a/src/mlpack/tests/svd_test.cpp
+++ b/src/mlpack/tests/svd_test.cpp
@@ -130,7 +130,7 @@ BOOST_AUTO_TEST_CASE(SVDNegativeElementTest)
   test(0, 2) = 3;
   test(1, 0) = 2;
   test(1, 1) = -1;
-  test(1, 2) = 1;
+  test(1, 2) = 2;
   test(2, 0) = 2;
   test(2, 1) = 2;
   test(2, 2) = 2;
@@ -144,6 +144,9 @@ BOOST_AUTO_TEST_CASE(SVDNegativeElementTest)
   amf.Apply(test, 2, m1, m2);
 
   arma::mat result = m1 * m2;
+  
+  std::cout << result << std::endl;
+  
   for(size_t i = 0;i < 3;i++)
   {
     for(size_t j = 0;j < 3;j++)

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