[mlpack-git] master,mlpack-1.0.x: Use prereqs.hpp instead of core.hpp; core.hpp is required for the implementation, though. (9291a7e)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:47:57 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 9291a7ecb1f9a04201a95a9ef029e0f24d6a7727
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue May 27 03:37:10 2014 +0000

    Use prereqs.hpp instead of core.hpp; core.hpp is required for the implementation, though.


>---------------------------------------------------------------

9291a7ecb1f9a04201a95a9ef029e0f24d6a7727
 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.



More information about the mlpack-git mailing list