[mlpack-svn] r17496 - mlpack/tags/mlpack-1.0.11/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Dec 11 09:01:40 EST 2014
Author: rcurtin
Date: Thu Dec 11 09:01:39 2014
New Revision: 17496
Log:
Fix -Wunused.
Modified:
mlpack/tags/mlpack-1.0.11/src/mlpack/tests/cosine_tree_test.cpp
Modified: mlpack/tags/mlpack-1.0.11/src/mlpack/tests/cosine_tree_test.cpp
==============================================================================
--- mlpack/tags/mlpack-1.0.11/src/mlpack/tests/cosine_tree_test.cpp (original)
+++ mlpack/tags/mlpack-1.0.11/src/mlpack/tests/cosine_tree_test.cpp Thu Dec 11 09:01:39 2014
@@ -120,8 +120,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