[mlpack-git] master, mlpack-1.0.x: Use prereqs.hpp to avoid weird include order dependency issues. (78d42b3)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:47:55 EST 2015
Repository : https://github.com/mlpack/mlpack
On branches: master,mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 78d42b38a41e06b7a4ad1db40a1ce862aa1165f3
Author: Ryan Curtin <ryan at ratml.org>
Date: Tue May 27 03:36:21 2014 +0000
Use prereqs.hpp to avoid weird include order dependency issues.
>---------------------------------------------------------------
78d42b38a41e06b7a4ad1db40a1ce862aa1165f3
src/mlpack/core/data/normalize_labels.hpp | 2 +-
src/mlpack/core/data/normalize_labels_impl.hpp | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/core/data/normalize_labels.hpp b/src/mlpack/core/data/normalize_labels.hpp
index eb69028..7b6a106 100644
--- a/src/mlpack/core/data/normalize_labels.hpp
+++ b/src/mlpack/core/data/normalize_labels.hpp
@@ -9,7 +9,7 @@
#ifndef __MLPACK_CORE_DATA_NORMALIZE_LABELS_HPP
#define __MLPACK_CORE_DATA_NORMALIZE_LABELS_HPP
-#include <mlpack/core.hpp>
+#include <mlpack/prereqs.hpp>
namespace mlpack {
namespace data {
diff --git a/src/mlpack/core/data/normalize_labels_impl.hpp b/src/mlpack/core/data/normalize_labels_impl.hpp
index 10e5564..e3167dc 100644
--- a/src/mlpack/core/data/normalize_labels_impl.hpp
+++ b/src/mlpack/core/data/normalize_labels_impl.hpp
@@ -8,7 +8,8 @@
#ifndef __MLPACK_CORE_DATA_NORMALIZE_LABELS_IMPL_HPP
#define __MLPACK_CORE_DATA_NORMALIZE_LABELS_IMPL_HPP
-#include <mlpack/core.hpp>
+// In case it hasn't been included yet.
+#include "normalize_labels.hpp"
namespace mlpack {
namespace data {
More information about the mlpack-git
mailing list