[mlpack] 29/324: Use prereqs.hpp instead of core.hpp; however, the implementation requires core.hpp.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:21:53 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 289a17d3732eca8e6e32c0b46660a9d933f7f1e6
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Tue May 27 03:38:38 2014 +0000

    Use prereqs.hpp instead of core.hpp; however, the implementation requires core.hpp.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16561 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/core/util/save_restore_utility.cpp      | 2 +-
 src/mlpack/core/util/save_restore_utility.hpp      | 2 +-
 src/mlpack/core/util/save_restore_utility_impl.hpp | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/core/util/save_restore_utility.cpp b/src/mlpack/core/util/save_restore_utility.cpp
index 2a17849..55c531c 100644
--- a/src/mlpack/core/util/save_restore_utility.cpp
+++ b/src/mlpack/core/util/save_restore_utility.cpp
@@ -5,7 +5,7 @@
  * The SaveRestoreUtility provides helper functions in saving and
  *   restoring models.  The current output file type is XML.
  */
-#include "save_restore_utility.hpp"
+#include <mlpack/core.hpp>
 
 using namespace mlpack;
 using namespace mlpack::util;
diff --git a/src/mlpack/core/util/save_restore_utility.hpp b/src/mlpack/core/util/save_restore_utility.hpp
index 433c983..d784794 100644
--- a/src/mlpack/core/util/save_restore_utility.hpp
+++ b/src/mlpack/core/util/save_restore_utility.hpp
@@ -10,6 +10,7 @@
 #ifndef __MLPACK_CORE_UTIL_SAVE_RESTORE_MODEL_HPP
 #define __MLPACK_CORE_UTIL_SAVE_RESTORE_MODEL_HPP
 
+#include <mlpack/prereqs.hpp>
 #include <list>
 #include <map>
 #include <sstream>
@@ -19,7 +20,6 @@
 #include <libxml/tree.h>
 
 #include <boost/tokenizer.hpp>
-#include <mlpack/core.hpp>
 
 namespace mlpack {
 namespace util {
diff --git a/src/mlpack/core/util/save_restore_utility_impl.hpp b/src/mlpack/core/util/save_restore_utility_impl.hpp
index 51468bf..2ae667f 100644
--- a/src/mlpack/core/util/save_restore_utility_impl.hpp
+++ b/src/mlpack/core/util/save_restore_utility_impl.hpp
@@ -10,6 +10,7 @@
 
 // In case it hasn't been included already.
 #include "save_restore_utility.hpp"
+#include "log.hpp"
 
 namespace mlpack {
 namespace util {

-- 
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