[mlpack-git] master: Fix -Wunused. (68018ae)
gitdub at mlpack.org
gitdub at mlpack.org
Thu Nov 3 09:39:54 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/04551164d9950dbdb3738f0c9d87e2d498fd8192...68018ae4eb4f579ff12e693515ce1ed03f81bf31
>---------------------------------------------------------------
commit 68018ae4eb4f579ff12e693515ce1ed03f81bf31
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Nov 3 09:39:54 2016 -0400
Fix -Wunused.
>---------------------------------------------------------------
68018ae4eb4f579ff12e693515ce1ed03f81bf31
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);
More information about the mlpack-git
mailing list