<p>In <a href="https://github.com/mlpack/mlpack/pull/703#discussion_r68396391">src/mlpack/core/arma_extend/fn_index_min_max.hpp</a>:</p>
<pre style='color:#555'>&gt; @@ -0,0 +1,323 @@
&gt; +#if (ARMA_VERSION_MAJOR &lt; 7\
&gt; +      || (ARMA_VERSION_MAJOR == 7 &amp;&amp; ARMA_VERSION_MINOR &lt; 200))
&gt; +template&lt;typename T1&gt;
&gt; +inline
&gt; +typename arma_not_cx&lt;typename T1::elem_type&gt;::result
&gt; +op_min::min_with_index(const Proxy&lt;T1&gt;&amp; P, uword&amp; index_of_min_val)
&gt; +  {
&gt; +  arma_extra_debug_sigprint();
&gt; +  
&gt; +  typedef typename T1::elem_type eT;
&gt; +  
&gt; +  const uword n_elem = P.get_n_elem();
&gt; +  
&gt; +  if(n_elem == 0)
</pre>
<p>Yeah it is not working. I willl change it and write my own function</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/703/files/0abec2cbb44a0556b129485b485bae8d07986af7#r68396391">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFMa6RMrZ-5yK0_-uWMno4NuHaL5fks5qO9mpgaJpZM4I5X__">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDdBnVsb6cMRmUoP0oyN4OjYDIEXks5qO9mpgaJpZM4I5X__.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/0abec2cbb44a0556b129485b485bae8d07986af7#r68396391"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>