[mlpack] 43/44: Fix -Wunused.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Mon Feb 15 19:35:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to tag mlpack-1.0.11
in repository mlpack.
commit d283c8213ad593dfd80d4229ec58b2bba06a9b69
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Dec 11 14:01:39 2014 +0000
Fix -Wunused.
---
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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list