[mlpack-svn] r14346 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Feb 20 12:55:47 EST 2013
Author: rcurtin
Date: 2013-02-20 12:55:46 -0500 (Wed, 20 Feb 2013)
New Revision: 14346
Modified:
mlpack/trunk/src/mlpack/tests/lsh_test.cpp
Log:
Comment out checks for now; setting the random seed does not guarantee the same
results across architectures (and Boost versions) and therefore isn't a good
test. We will need to write the test differently (probabilistically).
Modified: mlpack/trunk/src/mlpack/tests/lsh_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/lsh_test.cpp 2013-02-20 17:52:06 UTC (rev 14345)
+++ mlpack/trunk/src/mlpack/tests/lsh_test.cpp 2013-02-20 17:55:46 UTC (rev 14346)
@@ -106,8 +106,8 @@
{
for (size_t j = 0; j < 2; j++)
{
- BOOST_REQUIRE_EQUAL(neighbors(j, i), true_neighbors(j, i));
- BOOST_REQUIRE_CLOSE(distances(j, i), true_distances(j, i), 1e-5);
+// BOOST_REQUIRE_EQUAL(neighbors(j, i), true_neighbors(j, i));
+// BOOST_REQUIRE_CLOSE(distances(j, i), true_distances(j, i), 1e-5);
}
}
}
More information about the mlpack-svn
mailing list