[mlpack] 20/30: Fix -Wunused.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Mon Dec 26 10:15:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit bb340d0b31aa6a460aa0c3f849efb7141ac01736
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Dec 22 10:51:14 2016 -0500
Fix -Wunused.
---
src/mlpack/methods/approx_kfn/drusilla_select_impl.hpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mlpack/methods/approx_kfn/drusilla_select_impl.hpp b/src/mlpack/methods/approx_kfn/drusilla_select_impl.hpp
index 9cc314e..a3e8d0f 100644
--- a/src/mlpack/methods/approx_kfn/drusilla_select_impl.hpp
+++ b/src/mlpack/methods/approx_kfn/drusilla_select_impl.hpp
@@ -99,7 +99,6 @@ void DrusillaSelect<MatType>::Train(
norms.max(maxIndex);
arma::vec line(refCopy.col(maxIndex) / arma::norm(refCopy.col(maxIndex)));
- const size_t n_nonzero = (size_t) arma::sum(norms > 0);
// Calculate distortion and offset and make scores.
std::vector<bool> closeAngle(referenceSet.n_cols, false);
--
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