[mlpack-svn] master: Minor syntax change for Jenkins repo testing. (fdd269c)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Jan 1 14:58:21 EST 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/45d9f1ba64b1fbc76ab537b5b3b95b2db0ece95f...fdd269c1477a637edc667854260037c6519d0673

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

commit fdd269c1477a637edc667854260037c6519d0673
Author: ryan <ryan at ratml.org>
Date:   Thu Jan 1 14:58:07 2015 -0500

    Minor syntax change for Jenkins repo testing.


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

fdd269c1477a637edc667854260037c6519d0673
 src/mlpack/core/tree/rectangle_tree/x_tree_split_impl.hpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/core/tree/rectangle_tree/x_tree_split_impl.hpp b/src/mlpack/core/tree/rectangle_tree/x_tree_split_impl.hpp
index 1a20366..7758a26 100644
--- a/src/mlpack/core/tree/rectangle_tree/x_tree_split_impl.hpp
+++ b/src/mlpack/core/tree/rectangle_tree/x_tree_split_impl.hpp
@@ -43,8 +43,9 @@ void XTreeSplit<DescentType, StatisticType, MatType>::SplitLeafNode(
     return;
   }
 
- // If we haven't yet reinserted on this level, we try doing so now.
- if(relevels[tree->TreeDepth()]) {
+  // If we haven't yet reinserted on this level, we try doing so now.
+  if (relevels[tree->TreeDepth()])
+  {
    relevels[tree->TreeDepth()] = false;
    // We sort the points by decreasing distance to the centroid of the bound.
    // We then remove the first p entries and reinsert them at the root.




More information about the mlpack-svn mailing list