[mlpack-git] master: remove unused variable (e183e8a)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:14:28 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit e183e8a5fb1f909cfa8681516349cdb0f1ab6645
Author: Stephen Tu <tu.stephenl at gmail.com>
Date:   Wed Jan 28 18:26:15 2015 -0800

    remove unused variable


>---------------------------------------------------------------

e183e8a5fb1f909cfa8681516349cdb0f1ab6645
 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