[mlpack-svn] r16774 - mlpack/trunk/src/mlpack

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Jul 7 16:44:41 EDT 2014


Author: birm
Date: Mon Jul  7 16:44:41 2014
New Revision: 16774

Log:
Added check to solve ticket 347. Note that this does not changeany functionality, just adds a warning.



Modified:
   mlpack/trunk/src/mlpack/core.hpp

Modified: mlpack/trunk/src/mlpack/core.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core.hpp	(original)
+++ mlpack/trunk/src/mlpack/core.hpp	Mon Jul  7 16:44:41 2014
@@ -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.



More information about the mlpack-svn mailing list