[mlpack-git] master: Style fixes (trivial). (75e7530)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Mon Jan 12 11:17:41 EST 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/22bbb89eae5ef8f08b61539865a0beeabe345b34...3ad083bcbf243915de035eead1b0772ac3f35dee

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

commit 75e75305b840c71984f8bc0ff44bdd4f506a60ca
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Jan 12 11:04:49 2015 -0500

    Style fixes (trivial).


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

75e75305b840c71984f8bc0ff44bdd4f506a60ca
 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