[mlpack] 27/324: Use prereqs.hpp instead of core.hpp; core.hpp is required for the implementation, though.

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 6b04ba6f5165c45d8dfd65d9f52c468d0cb1743e
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Tue May 27 03:37:10 2014 +0000

    Use prereqs.hpp instead of core.hpp; core.hpp is required for the implementation, though.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16559 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/core/math/lin_alg.cpp | 1 +
 src/mlpack/core/math/lin_alg.hpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mlpack/core/math/lin_alg.cpp b/src/mlpack/core/math/lin_alg.cpp
index 2bb2dbd..d4b49f3 100644
--- a/src/mlpack/core/math/lin_alg.cpp
+++ b/src/mlpack/core/math/lin_alg.cpp
@@ -5,6 +5,7 @@
  * Linear algebra utilities.
  */
 #include "lin_alg.hpp"
+#include <mlpack/core.hpp>
 
 using namespace mlpack;
 using namespace math;
diff --git a/src/mlpack/core/math/lin_alg.hpp b/src/mlpack/core/math/lin_alg.hpp
index 9632ae9..1988beb 100644
--- a/src/mlpack/core/math/lin_alg.hpp
+++ b/src/mlpack/core/math/lin_alg.hpp
@@ -7,7 +7,7 @@
 #ifndef __MLPACK_CORE_MATH_LIN_ALG_HPP
 #define __MLPACK_CORE_MATH_LIN_ALG_HPP
 
-#include <mlpack/core.hpp>
+#include <mlpack/prereqs.hpp>
 
 /**
  * Linear algebra utility functions, generally performed on matrices or vectors.

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