[mlpack-git] master: Style fixes (trivial). (1a5321b)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:11:50 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 1a5321bbd3d47e92d81e096f0523936f75d48889
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Jan 12 11:04:49 2015 -0500
Style fixes (trivial).
>---------------------------------------------------------------
1a5321bbd3d47e92d81e096f0523936f75d48889
src/mlpack/methods/cf/cf_impl.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/cf/cf_impl.hpp b/src/mlpack/methods/cf/cf_impl.hpp
index c21822f..e603942 100644
--- a/src/mlpack/methods/cf/cf_impl.hpp
+++ b/src/mlpack/methods/cf/cf_impl.hpp
@@ -64,7 +64,7 @@ CF<FactorizerType>::CF(arma::mat& data,
factorizer(factorizer)
{
// Validate neighbourhood size.
- if(numUsersForSimilarity < 1)
+ if (numUsersForSimilarity < 1)
{
Log::Warn << "CF::CF(): neighbourhood size should be > 0("
<< numUsersForSimilarity << " given). Setting value to 5.\n";
@@ -75,7 +75,7 @@ CF<FactorizerType>::CF(arma::mat& data,
CleanData(data);
// Check if the user wanted us to choose a rank for them.
- if(rank == 0)
+ if (rank == 0)
{
// This is a simple heuristic that picks a rank based on the density of the
// dataset between 5 and 105.
More information about the mlpack-git
mailing list