[mlpack-git] master: Remove trailing spaces thanks to vimrc, and fix comment correctness. (f4ac9ef)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:59:04 EST 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit f4ac9ef366ddc45164a88c74f08f02c680b049b7
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Aug 20 19:58:10 2014 +0000

    Remove trailing spaces thanks to vimrc, and fix comment correctness.


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

f4ac9ef366ddc45164a88c74f08f02c680b049b7
 src/mlpack/methods/gmm/gmm.hpp      | 0
 src/mlpack/methods/gmm/gmm_impl.hpp | 6 ++----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/methods/gmm/gmm_impl.hpp b/src/mlpack/methods/gmm/gmm_impl.hpp
index 0d58de7..3fb9f45 100644
--- a/src/mlpack/methods/gmm/gmm_impl.hpp
+++ b/src/mlpack/methods/gmm/gmm_impl.hpp
@@ -33,8 +33,7 @@ GMM<FittingType>::GMM(const size_t gaussians, const size_t dimensionality) :
     localFitter(FittingType()),
     fitter(localFitter)
 {
-  // Set weights to 0.  Technically this model is still valid, but
-  // only barely.
+  // Set equal weights.  Technically this model is still valid, but only barely.
   weights.fill(1.0 / gaussians);
 }
 
@@ -58,8 +57,7 @@ GMM<FittingType>::GMM(const size_t gaussians,
     weights(gaussians),
     fitter(fitter)
 {
-  // Set weights to 0.  Technically this model is still valid, but
-  // only barely.
+  // Set equal weights.  Technically this model is still valid, but only barely.
   weights.fill(1.0 / gaussians);
 }
 



More information about the mlpack-git mailing list