[mlpack] 21/53: Fix out-of-order initialization warning.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Mon Nov 14 00:46:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit 31995784e651e1c17c988c79d9f53c9dbad620f8
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Oct 24 03:45:45 2016 -0400
Fix out-of-order initialization warning.
---
src/mlpack/methods/range_search/rs_model.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/range_search/rs_model.cpp b/src/mlpack/methods/range_search/rs_model.cpp
index e493810..4932861 100644
--- a/src/mlpack/methods/range_search/rs_model.cpp
+++ b/src/mlpack/methods/range_search/rs_model.cpp
@@ -16,6 +16,7 @@ using namespace mlpack::range;
*/
RSModel::RSModel(TreeTypes treeType, bool randomBasis) :
treeType(treeType),
+ leafSize(0),
randomBasis(randomBasis),
kdTreeRS(NULL),
coverTreeRS(NULL),
@@ -30,8 +31,7 @@ RSModel::RSModel(TreeTypes treeType, bool randomBasis) :
rpTreeRS(NULL),
maxRPTreeRS(NULL),
ubTreeRS(NULL),
- octreeRS(NULL),
- leafSize(0)
+ octreeRS(NULL)
{
// Nothing to do.
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list