[mlpack-svn] r16364 - mlpack/trunk/src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Mar 11 11:42:29 EDT 2014


Author: rcurtin
Date: Tue Mar 11 11:42:28 2014
New Revision: 16364

Log:
Fix to go with patch from Saheb... forgot to check this in earlier.


Modified:
   mlpack/trunk/src/mlpack/tests/allkfn_test.cpp
   mlpack/trunk/src/mlpack/tests/allknn_test.cpp

Modified: mlpack/trunk/src/mlpack/tests/allkfn_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/allkfn_test.cpp	(original)
+++ mlpack/trunk/src/mlpack/tests/allkfn_test.cpp	Tue Mar 11 11:42:28 2014
@@ -46,10 +46,10 @@
     switch (i)
     {
       case 0: // Use the dual-tree method.
-        allkfn = new AllkFN(dataMutable, false, false, 1);
+        allkfn = new AllkFN(dataMutable, false, false);
         break;
       case 1: // Use the single-tree method.
-        allkfn = new AllkFN(dataMutable, false, true, 1);
+        allkfn = new AllkFN(dataMutable, false, true);
         break;
       case 2: // Use the naive method.
         allkfn = new AllkFN(dataMutable, true);

Modified: mlpack/trunk/src/mlpack/tests/allknn_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/allknn_test.cpp	(original)
+++ mlpack/trunk/src/mlpack/tests/allknn_test.cpp	Tue Mar 11 11:42:28 2014
@@ -193,10 +193,10 @@
     switch (i)
     {
       case 0: // Use the dual-tree method.
-        allknn = new AllkNN(dataMutable, false, false, 1);
+        allknn = new AllkNN(dataMutable, false, false);
         break;
       case 1: // Use the single-tree method.
-        allknn = new AllkNN(dataMutable, false, true, 1);
+        allknn = new AllkNN(dataMutable, false, true);
         break;
       case 2: // Use the naive method.
         allknn = new AllkNN(dataMutable, true);



More information about the mlpack-svn mailing list