[mlpack-git] master: Comment out parameter name instead of (void)ing it. Just a little style fix. (be11011)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Mon Jan 12 11:17:37 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/22bbb89eae5ef8f08b61539865a0beeabe345b34...3ad083bcbf243915de035eead1b0772ac3f35dee
>---------------------------------------------------------------
commit be11011460ead2cd0edb4b40e6622da007a87090
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Jan 12 11:03:34 2015 -0500
Comment out parameter name instead of (void)ing it.
Just a little style fix.
>---------------------------------------------------------------
be11011460ead2cd0edb4b40e6622da007a87090
src/mlpack/methods/cf/cf_impl.hpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mlpack/methods/cf/cf_impl.hpp b/src/mlpack/methods/cf/cf_impl.hpp
index 53b0a05..e645b4c 100644
--- a/src/mlpack/methods/cf/cf_impl.hpp
+++ b/src/mlpack/methods/cf/cf_impl.hpp
@@ -19,7 +19,7 @@ namespace cf {
* list.
*/
template<typename FactorizerType>
-void ApplyFactorizer(arma::mat& data,
+void ApplyFactorizer(arma::mat& /* data */,
arma::sp_mat& cleanedData,
FactorizerType& factorizer,
const size_t rank,
@@ -29,7 +29,6 @@ void ApplyFactorizer(arma::mat& data,
FactorizerTraits<FactorizerType>::UsesCoordinateList == false,
int*>::type = 0)
{
- (void)data;
factorizer.Apply(cleanedData, rank, w, h);
}
More information about the mlpack-git
mailing list