[mlpack-git] master, mlpack-1.0.x: Oops, use single-tree for the second iteration. (4539ee9)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:45:19 EST 2015


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

On branches: master,mlpack-1.0.x
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit 4539ee95d5dac37c591a27368ca746e9996fa7cc
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Mar 11 18:43:15 2014 +0000

    Oops, use single-tree for the second iteration.


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

4539ee95d5dac37c591a27368ca746e9996fa7cc
 src/mlpack/tests/allknn_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/allknn_test.cpp b/src/mlpack/tests/allknn_test.cpp
index f7a486b..4ea444f 100644
--- a/src/mlpack/tests/allknn_test.cpp
+++ b/src/mlpack/tests/allknn_test.cpp
@@ -203,7 +203,7 @@ BOOST_AUTO_TEST_CASE(ExhaustiveSyntheticTest)
         allknn = new AllkNN(tree, dataMutable, false);
         break;
       case 1: // Use the single-tree method.
-        allknn = new AllkNN(tree, dataMutable, false);
+        allknn = new AllkNN(tree, dataMutable, true);
         break;
       case 2: // Use the naive method.
         allknn = new AllkNN(dataMutable, true);



More information about the mlpack-git mailing list