<p>This may be related to <a href="https://github.com/mlpack/mlpack/issues/338" class="issue-link js-issue-link" data-url="https://github.com/mlpack/mlpack/issues/338" data-id="53048011" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#338</a>.</p>

<p>I've committed a temporary workaround in <a href="https://github.com/mlpack/mlpack/commit/356dacfb91a419ad98ac861ef07235cc9a3e1549" class="commit-link"><tt>356dacf</tt></a> for this issue, but it should hopefully be temporary!</p>

<p>Many times, when <code>RAModelTest</code> in <code>src/mlpack/tests/krann_search_test.cpp</code> is run, there will be a failure indicating that too many queries have failed the rank approximation guarantee.  The output looks a bit like this:</p>

<pre><code>/home/travis/build/mlpack/mlpack/src/mlpack/tests/krann_search_test.cpp(704): fatal error in "RAModelTest": critical check numQueriesFail &lt; maxNumQueriesFail failed [12 &gt;= 12]
</code></pre>

<p>But even with the value of 12 there, it should be 5.  We should figure out for which tree types this test is failing, and then figure out why it is failing.  So a good first step might be to simply print the tree type that is being tested, and see how often it fails with different random seeds; then we can go from there.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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/issues/734">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFDSAqMbUJRqyE_35iYlYXT6xsrY7ks5qYQWVgaJpZM4JS_g9">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFCfuovFyoacwb1FhnvE0jbXQUUHKks5qYQWVgaJpZM4JS_g9.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/issues/734"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>