[mlpack-git] master: remove unused variable (e197b0d)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Mon Feb 2 15:16:43 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/bb6e5c56aab07e6449d86021246b52a9e323f3a0...bd6cb33f8d8270b02a84e81e38727679bb6c319a
>---------------------------------------------------------------
commit e197b0d6f9d79d106613a2ad4007a610dc955ed6
Author: Stephen Tu <tu.stephenl at gmail.com>
Date: Wed Jan 28 18:26:15 2015 -0800
remove unused variable
>---------------------------------------------------------------
e197b0d6f9d79d106613a2ad4007a610dc955ed6
src/mlpack/core/math/lin_alg.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mlpack/core/math/lin_alg.cpp b/src/mlpack/core/math/lin_alg.cpp
index 21c9e1c..b6d5947 100644
--- a/src/mlpack/core/math/lin_alg.cpp
+++ b/src/mlpack/core/math/lin_alg.cpp
@@ -236,8 +236,6 @@ void mlpack::math::Svec(const arma::sp_mat& input, arma::sp_vec& output)
output.zeros(n2bar, 1);
- size_t idx = 0;
-
for (auto it = input.begin(); it != input.end(); ++it)
{
const size_t i = it.row();
More information about the mlpack-git
mailing list