[mlpack-git] master: Fix -Wreorder. (d925afc)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 11:45:22 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/de9cc4b05069e1fa4793d9355f2f595af5ff45d2...6070527af14296cd99739de6c62666cc5d2a2125
>---------------------------------------------------------------
commit d925afc52b94c7ca2cfc202ac8c7445683a04603
Author: Ryan Curtin <ryan at ratml.org>
Date: Fri Oct 30 16:54:43 2015 +0000
Fix -Wreorder.
>---------------------------------------------------------------
d925afc52b94c7ca2cfc202ac8c7445683a04603
src/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp b/src/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp
index 3c43b23..f3e587d 100644
--- a/src/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp
+++ b/src/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp
@@ -17,8 +17,8 @@ template<typename FitnessFunction, typename ObservationType>
BinaryNumericSplit<FitnessFunction, ObservationType>::BinaryNumericSplit(
const size_t numClasses) :
classCounts(numClasses),
- isAccurate(true),
- bestSplit(std::numeric_limits<ObservationType>::min())
+ bestSplit(std::numeric_limits<ObservationType>::min()),
+ isAccurate(true)
{
// Zero out class counts.
classCounts.zeros();
More information about the mlpack-git
mailing list