[mlpack-svn] r17499 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Dec 11 11:51:38 EST 2014
Author: rcurtin
Date: Thu Dec 11 11:51:38 2014
New Revision: 17499
Log:
Why did I merge that change in? It broke everything. Revert...
Modified:
mlpack/trunk/src/mlpack/tests/cosine_tree_test.cpp
Modified: mlpack/trunk/src/mlpack/tests/cosine_tree_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/cosine_tree_test.cpp (original)
+++ mlpack/trunk/src/mlpack/tests/cosine_tree_test.cpp Thu Dec 11 11:51:38 2014
@@ -105,8 +105,8 @@
// 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);
More information about the mlpack-svn
mailing list