[mlpack-git] master: Fix include ordering. (cdb9c34)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed May 20 23:05:49 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/77d750c8fd46140b1d6060424f68768a21c89377...7e9cd46afb53817ae93ccbd02637d7726137ce4d

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

commit cdb9c34c0b9756979cdf66b150185372411afae3
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed May 20 10:15:56 2015 -0400

    Fix include ordering.


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

cdb9c34c0b9756979cdf66b150185372411afae3
 src/mlpack/core/tree/cover_tree/cover_tree.hpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/mlpack/core/tree/cover_tree/cover_tree.hpp b/src/mlpack/core/tree/cover_tree/cover_tree.hpp
index 064a500..647c37f 100644
--- a/src/mlpack/core/tree/cover_tree/cover_tree.hpp
+++ b/src/mlpack/core/tree/cover_tree/cover_tree.hpp
@@ -10,7 +10,7 @@
 #include <mlpack/core.hpp>
 
 #include "../statistic.hpp"
-#include "../cover_tree.hpp"
+#include "first_point_is_root.hpp"
 
 namespace mlpack {
 namespace tree {
@@ -485,4 +485,7 @@ class CoverTree
 // Include implementation.
 #include "cover_tree_impl.hpp"
 
+// Include the rest of the pieces, if necessary.
+#include "../cover_tree.hpp"
+
 #endif



More information about the mlpack-git mailing list