[mlpack] 135/324: Added check to solve ticket 347. Note that this does not changeany functionality, just adds a warning.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:03 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 30b836b90a2e4607212a45634c0c878008c2b513
Author: birm <birm at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Mon Jul 7 20:44:41 2014 +0000

    Added check to solve ticket 347. Note that this does not changeany functionality, just adds a warning.
    
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16774 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/core.hpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/mlpack/core.hpp b/src/mlpack/core.hpp
index a6374f0..d39dff0 100644
--- a/src/mlpack/core.hpp
+++ b/src/mlpack/core.hpp
@@ -138,7 +138,12 @@
  *   - Andrew Wells <andrewmw94 at gmail.com>
  */
 
-// First, include all of the prerequisites.
+// First, Check if armadillo was included before, warning if so
+#ifdef ARMA_INCLUDES
+#pragma message "Armadillo was included before mlpack."
+#endif
+
+// Next, include all of the prerequisites.
 #include <mlpack/prereqs.hpp>
 
 // Now the core mlpack classes.

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