[mlpack-svn] r11151 - mlpack/trunk/src/mlpack/core/math

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Jan 18 17:29:38 EST 2012


Author: jcline3
Date: 2012-01-18 17:29:37 -0500 (Wed, 18 Jan 2012)
New Revision: 11151

Modified:
   mlpack/trunk/src/mlpack/core/math/random.hpp
Log:
Apparently jenkins uses an older version of boost and we had a #define that
caused an unused variable warning...


Modified: mlpack/trunk/src/mlpack/core/math/random.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/math/random.hpp	2012-01-18 22:17:59 UTC (rev 11150)
+++ mlpack/trunk/src/mlpack/core/math/random.hpp	2012-01-18 22:29:37 UTC (rev 11151)
@@ -86,6 +86,7 @@
   #if BOOST_VERSION >= 104700
     boost::random::uniform_int_distribution<> dist(lo, hiExclusive - 1);
   #else
+    (void) lo; // Since we don't use lo in older boost versions
     boost::uniform_int<> dist(0, hiExclusive - 1);
   #endif
 




More information about the mlpack-svn mailing list