[mlpack-git] master: Fix formatting. (04ff436)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Mon Nov 2 14:31:05 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/156787dd4f372a7fd740f733127ac200ea2564b7...04ff4365ebd94a2e09c593e68ac17613482ef547
>---------------------------------------------------------------
commit 04ff4365ebd94a2e09c593e68ac17613482ef547
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Oct 28 11:47:44 2015 -0400
Fix formatting.
>---------------------------------------------------------------
04ff4365ebd94a2e09c593e68ac17613482ef547
src/mlpack/methods/det/dtree.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/det/dtree.cpp b/src/mlpack/methods/det/dtree.cpp
index 476a5b4..16b0a15 100644
--- a/src/mlpack/methods/det/dtree.cpp
+++ b/src/mlpack/methods/det/dtree.cpp
@@ -287,8 +287,8 @@ double DTree::Grow(arma::mat& data,
logVolume += std::log(maxVals[i] - minVals[i]);
// Check if node is large enough to split.
- if ((size_t) (end - start) > maxLeafSize) {
-
+ if ((size_t) (end - start) > maxLeafSize)
+ {
// Find the split.
size_t dim;
double splitValueTmp;
More information about the mlpack-git
mailing list