<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68646793">src/mlpack/tests/lsh_test.cpp</a>:</p>
<pre style='color:#555'>> + LSHSearch<> lshTest(rdata, projections,
> + hashWidth, secondHashSize, bucketSize);
> +
> +
> + // two points near the clusters but outside their bins. q1's lowest scoring
> + // perturbation vectors will map to C1 cluster's bins.
> + arma::mat q1;
> + q1 << 1.1 << arma::endr << 3.3; // vector [1.1, 3.3]
> +
> + arma::Mat<size_t> neighbors;
> + arma::mat distances;
> +
> + // Test that q1 simple search comes up empty
> + lshTest.Search(q1, k, neighbors, distances);
> + cout << neighbors << endl;
> + BOOST_REQUIRE( arma::all(neighbors.col(0) == N) );
</pre>
<p>Extra spaces here... <code>BOOST_REQUIRE(arma::all(neighbors.col(0) == N));</code></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/691/files/71eda99e207a9b91581504e11a9e14d38838bc9f#r68646793">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFINMFr-CgN2z7ejW6fRHpZTNEo01ks5qQC6DgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPu5QOFqLsmPuNt4JMSFWe5helluks5qQC6DgaJpZM4IxQW5.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/691/files/71eda99e207a9b91581504e11a9e14d38838bc9f#r68646793"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>