[mlpack-svn] r16558 - mlpack/trunk/src/mlpack/core/data

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon May 26 23:36:21 EDT 2014


Author: rcurtin
Date: Mon May 26 23:36:21 2014
New Revision: 16558

Log:
Use prereqs.hpp to avoid weird include order dependency issues.


Modified:
   mlpack/trunk/src/mlpack/core/data/normalize_labels.hpp
   mlpack/trunk/src/mlpack/core/data/normalize_labels_impl.hpp

Modified: mlpack/trunk/src/mlpack/core/data/normalize_labels.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/data/normalize_labels.hpp	(original)
+++ mlpack/trunk/src/mlpack/core/data/normalize_labels.hpp	Mon May 26 23:36:21 2014
@@ -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 {

Modified: mlpack/trunk/src/mlpack/core/data/normalize_labels_impl.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/data/normalize_labels_impl.hpp	(original)
+++ mlpack/trunk/src/mlpack/core/data/normalize_labels_impl.hpp	Mon May 26 23:36:21 2014
@@ -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-svn mailing list