[mlpack-git] master: Fix typo that caused rank to be 0 by default. (5249c0f)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed May 27 23:35:49 EDT 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/db7f910467dec872a93cf47427b3d6196fd52b39...5249c0fc83ac3b0915bd22ae1f1823b742a82c33
>---------------------------------------------------------------
commit 5249c0fc83ac3b0915bd22ae1f1823b742a82c33
Author: ryan <ryan at ratml.org>
Date: Wed May 27 23:35:33 2015 -0400
Fix typo that caused rank to be 0 by default.
>---------------------------------------------------------------
5249c0fc83ac3b0915bd22ae1f1823b742a82c33
src/mlpack/methods/cf/cf_impl.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/methods/cf/cf_impl.hpp b/src/mlpack/methods/cf/cf_impl.hpp
index 2e81d16..7b6ce4b 100644
--- a/src/mlpack/methods/cf/cf_impl.hpp
+++ b/src/mlpack/methods/cf/cf_impl.hpp
@@ -127,7 +127,7 @@ CF<FactorizerType>::CF(const arma::sp_mat& data,
this->rank = rankEstimate;
}
- factorizer.Apply(cleanedData, rank, w, h);
+ factorizer.Apply(cleanedData, this->rank, w, h);
}
template<typename FactorizerType>
More information about the mlpack-git
mailing list