[mlpack-svn] r13178 - mlpack/trunk/src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Sat Jul 7 01:04:27 EDT 2012


Author: rcurtin
Date: 2012-07-07 01:04:27 -0400 (Sat, 07 Jul 2012)
New Revision: 13178

Modified:
   mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp
Log:
This causes an ambiguity error (mlpack::math or arma::math?) on gcc 4.4.x.


Modified: mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp	2012-07-06 21:57:54 UTC (rev 13177)
+++ mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp	2012-07-07 05:04:27 UTC (rev 13178)
@@ -146,7 +146,7 @@
     size_t row = 0;
     while (row < 200)
     {
-      row += (math::RandInt(1, (2 * (run + 1) + 1)));
+      row += RandInt(1, (2 * (run + 1) + 1));
       if (row < 200)
       {
         Log::Warn << "drop row " << row << "\n";




More information about the mlpack-svn mailing list