[mlpack-git] mlpack-1.0.x: Fix -Wunused. (21048d7)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Jan 7 11:59:02 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/0000000000000000000000000000000000000000...904762495c039e345beba14c1142fd719b3bd50e
>---------------------------------------------------------------
commit 21048d7f95483c3bbc769501b47f7c0f67af6edf
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Dec 11 14:01:39 2014 +0000
Fix -Wunused.
>---------------------------------------------------------------
21048d7f95483c3bbc769501b47f7c0f67af6edf
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 76a600c..64167e3 100644
--- a/src/mlpack/tests/cosine_tree_test.cpp
+++ b/src/mlpack/tests/cosine_tree_test.cpp
@@ -120,8 +120,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);
More information about the mlpack-git
mailing list