[mlpack] 187/324: The size parameter is unused outside the constructor; also, commit this change to trunk this time...

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:09 UTC 2014


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

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 14de1b65e6f67c6dfd24d018170b65da3d062280
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Jul 16 15:01:45 2014 +0000

    The size parameter is unused outside the constructor; also, commit this change
    to trunk this time...
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16828 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/methods/emst/union_find.hpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mlpack/methods/emst/union_find.hpp b/src/mlpack/methods/emst/union_find.hpp
index b6fe128..e1d3a3c 100644
--- a/src/mlpack/methods/emst/union_find.hpp
+++ b/src/mlpack/methods/emst/union_find.hpp
@@ -25,13 +25,12 @@ namespace emst {
 class UnionFind
 {
  private:
-  size_t size;
   arma::Col<size_t> parent;
   arma::ivec rank;
 
  public:
   //! Construct the object with the given size.
-  UnionFind(const size_t size) : size(size), parent(size), rank(size)
+  UnionFind(const size_t size) : parent(size), rank(size)
   {
     for (size_t i = 0; i < size; ++i)
     {

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