[mlpack] 146/149: Why did I merge that change in? It broke everything. Revert...

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:19 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 7f68eb95596f08cae0cf3d82b7af49d6884cd5d8
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Thu Dec 11 16:51:38 2014 +0000

    Why did I merge that change in?  It broke everything.  Revert...
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17499 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/cosine_tree_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/tests/cosine_tree_test.cpp b/src/mlpack/tests/cosine_tree_test.cpp
index eed5c3e..2f44d7d 100644
--- a/src/mlpack/tests/cosine_tree_test.cpp
+++ b/src/mlpack/tests/cosine_tree_test.cpp
@@ -105,8 +105,8 @@ BOOST_AUTO_TEST_CASE(CosineNodeCosineSplit)
 
       // Check if the columns assigned to the children agree with the splitting
       // condition.
-//      double cosineMax = arma::max(cosines % (cosines < 1));
-//      double cosineMin = arma::min(cosines);
+      double cosineMax = arma::max(cosines % (cosines < 1));
+      double cosineMin = arma::min(cosines);
 
       for (i = 0; i < leftIndices.size(); i++)
         BOOST_CHECK_LT(cosineMax - cosines(i), cosines(i) - cosineMin);

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