[mlpack] 19/40: Remove self assignment.

Barak A. Pearlmutter barak+git at pearlmutter.net
Mon Feb 15 19:34:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit fb4c07829c3cd4c3bb394247c1b07c537c71a05c
Author: marcus <marcus.edel at fu-berlin.de>
Date:   Sat Jan 23 13:08:26 2016 +0100

    Remove self assignment.
---
 src/mlpack/methods/decision_stump/decision_stump_impl.hpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mlpack/methods/decision_stump/decision_stump_impl.hpp b/src/mlpack/methods/decision_stump/decision_stump_impl.hpp
index b96065d..fafd98b 100644
--- a/src/mlpack/methods/decision_stump/decision_stump_impl.hpp
+++ b/src/mlpack/methods/decision_stump/decision_stump_impl.hpp
@@ -86,9 +86,6 @@ void DecisionStump<MatType>::Train(const MatType& data,
                                    const arma::Row<size_t>& labels,
                                    const arma::rowvec& weights)
 {
-  this->classes = classes;
-  this->bucketSize = bucketSize;
-
   // If classLabels are not all identical, proceed with training.
   size_t bestDim = 0;
   double entropy;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list