[mlpack-git] master: Minor syntax change for Jenkins repo testing. (626183a)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:09:28 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 626183a6d995d37122bb58812a00792f66f3fe21
Author: ryan <ryan at ratml.org>
Date: Thu Jan 1 14:58:07 2015 -0500
Minor syntax change for Jenkins repo testing.
>---------------------------------------------------------------
626183a6d995d37122bb58812a00792f66f3fe21
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-git
mailing list