[mlpack] 26/324: Use prereqs.hpp to avoid weird include order dependency issues.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sun Aug 17 08:21:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit 46c6eed1209de3ae318ed063b6e7e5cadeb758d7
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Tue May 27 03:36:21 2014 +0000
Use prereqs.hpp to avoid weird include order dependency issues.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16558 9d5b8971-822b-0410-80eb-d18c1038ef23
---
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 {
--
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