[mlpack-git] master: Remove CopyMe(), just like the documentation says we should. (cb2ea62)
gitdub at mlpack.org
gitdub at mlpack.org
Tue Jun 28 16:22:33 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/6077f120935e10ffa01d80a8398e28a90a8d011a...cb2ea626951f83627eb826c53e21cee1581b1ee9
>---------------------------------------------------------------
commit cb2ea626951f83627eb826c53e21cee1581b1ee9
Author: Ryan Curtin <ryan at ratml.org>
Date: Tue Jun 28 16:22:33 2016 -0400
Remove CopyMe(), just like the documentation says we should.
>---------------------------------------------------------------
cb2ea626951f83627eb826c53e21cee1581b1ee9
.../core/tree/rectangle_tree/rectangle_tree.hpp | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/src/mlpack/core/tree/rectangle_tree/rectangle_tree.hpp b/src/mlpack/core/tree/rectangle_tree/rectangle_tree.hpp
index 0f2d9cc..8d3c921 100644
--- a/src/mlpack/core/tree/rectangle_tree/rectangle_tree.hpp
+++ b/src/mlpack/core/tree/rectangle_tree/rectangle_tree.hpp
@@ -497,26 +497,6 @@ class RectangleTree
private:
/**
- * Private copy constructor, available only to fill (pad) the tree to a
- * specified level. TO BE REMOVED
- */
- RectangleTree(const size_t begin,
- const size_t count,
- bound::HRectBound<MetricType> bound,
- StatisticType stat,
- const int maxLeafSize = 20) :
- begin(begin),
- count(count),
- bound(bound),
- stat(stat),
- maxLeafSize(maxLeafSize) { }
-
- RectangleTree* CopyMe()
- {
- return new RectangleTree(begin, count, bound, stat, maxLeafSize);
- }
-
- /**
* Splits the current node, recursing up the tree.
*
* @param relevels Vector to track which levels have been inserted to.
More information about the mlpack-git
mailing list