<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68643940">src/mlpack/methods/lsh/lsh_main.cpp</a>:</p>
<pre style='color:#555'>&gt; @@ -137,6 +139,7 @@ int main(int argc, char *argv[])
&gt;    const size_t numProj = CLI::GetParam&lt;int&gt;(&quot;projections&quot;);
&gt;    const size_t numTables = CLI::GetParam&lt;int&gt;(&quot;tables&quot;);
&gt;    const double hashWidth = CLI::GetParam&lt;double&gt;(&quot;hash_width&quot;);
&gt; +  const size_t numProbes = CLI::GetParam&lt;int&gt;(&quot;num_probes&quot;);
</pre>
<p>Do you need to do an explicit cast here to avoid a warning?  I am not sure, I think it depends on the compiler, but usually I will do something like <code>(size_t) CLI::GetParam&lt;int&gt;("num_probes");</code>.</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/pull/691/files/71eda99e207a9b91581504e11a9e14d38838bc9f#r68643940">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFEf35BnWwV4BUstAidMrgD45769Kks5qQCocgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFFhnsvOq_fAxcwqQoKVLwDxGKrmeks5qQCocgaJpZM4IxQW5.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#r68643940"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>