[mlpack-git] master: A struct is better here... (724a353)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Mon Apr 27 15:49:38 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/191713c35eee8fd7370287c2b4ec7b17e01aec5a...724a35352ce93f2e4a08500bf6809287d0fc1e9d

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

commit 724a35352ce93f2e4a08500bf6809287d0fc1e9d
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Apr 27 15:49:28 2015 -0400

    A struct is better here...


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

724a35352ce93f2e4a08500bf6809287d0fc1e9d
 src/mlpack/methods/cf/cf.hpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mlpack/methods/cf/cf.hpp b/src/mlpack/methods/cf/cf.hpp
index 5c4ce2b..55afb54 100644
--- a/src/mlpack/methods/cf/cf.hpp
+++ b/src/mlpack/methods/cf/cf.hpp
@@ -31,9 +31,8 @@ namespace cf /** Collaborative filtering. */ {
  * Regularized SVD.
  */
 template<typename FactorizerType>
-class FactorizerTraits
+struct FactorizerTraits
 {
- public:
   /**
    * If true, then the passed data matrix is used for factorizer.Apply().
    * Otherwise, it is modified into a form suitable for factorization.



More information about the mlpack-git mailing list