<p>In <a href="https://github.com/mlpack/mlpack/pull/703#discussion_r68445013">src/mlpack/methods/edge_boxes/feature_extraction_impl.hpp</a>:</p>
<pre style='color:#555'>> +
> +}
> +
> +/**
> + * Applies a triangle filter on an Image.
> + * @param InImage Input/Output Image on which filter is applied.
> + * @param radius Decides the size of kernel to be applied on Image.
> + */
> +template<typename MatType, typename CubeType>
> +void StructuredForests<MatType, CubeType>::
> +ConvTriangle(CubeType &InImage, const size_t radius)
> +{
> + if (radius == 0)
> + {
> + //nothing to do
> + }
</pre>
<p>A little bit weird to see empty if, since radius is size_t, you can</p>
<pre><code>if(radius != 0){
if(radius == 1){
//.....
}else{
//....
}
}
</code></pre>
<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/703/files/987f0790f745314a2117a87f28a346b05a8a2a2d#r68445013">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFOnr8Yr9Z9PhpD-ult77aqrwQTKVks5qPCc_gaJpZM4I5X__">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFMmhgGdrBqf659H3yOOCxGSVSDLYks5qPCc_gaJpZM4I5X__.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/703/files/987f0790f745314a2117a87f28a346b05a8a2a2d#r68445013"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>