[mlpack-git] master: Fix unnecessarily long line. (9f72e89)

gitdub at mlpack.org gitdub at mlpack.org
Mon Apr 4 23:29:20 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/e14c246389e7cd3a910933446ae2b74333ca377b...9f72e89ddad3347e1de59a164063ced735553cc4

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

commit 9f72e89ddad3347e1de59a164063ced735553cc4
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Apr 4 23:29:20 2016 -0400

    Fix unnecessarily long line.


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

9f72e89ddad3347e1de59a164063ced735553cc4
 src/mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp b/src/mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp
index c95eef6..0e422ee 100644
--- a/src/mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp
+++ b/src/mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp
@@ -732,8 +732,7 @@ void RectangleTree<MetricType, StatisticType, MatType, SplitType, DescentType>::
 
         // We find the root and shrink bounds at the same time.
         bool stillShrinking = true;
-        RectangleTree<MetricType, StatisticType, MatType, SplitType, DescentType>* root =
-            parent;
+        RectangleTree* root = parent;
         while (root->Parent() != NULL)
         {
           if (stillShrinking)




More information about the mlpack-git mailing list