<p>Hi guys,</p>

<p>The file mlpack/src/mlpack/core/arma_extend/fn_ind2sub.hpp contains verbatim copies of the ind2sub() and sub2ind() functions from armadillo codebase (v7.100). The file was introduced by <a href="https://github.com/nilayjain" class="user-mention">@nilayjain</a> and merged in <a href="https://github.com/mlpack/mlpack/pull/683" class="issue-link js-issue-link" data-url="https://github.com/mlpack/mlpack/issues/683" data-id="158776639" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#683</a>. Even though it's open source code and the functions are straightforward, the corresponding license must still be respected.</p>

<p>MLPACK is licensed under BSD, while Armadillo is licensed under MPL v2. So, the fn_ind2sub.hpp file must have a header stating the copyright and that the functions are licensed under MLP v2.</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/702">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJgTpR_a2eQ9Fc4eQH-qAYLQCvT-ks5qNhoTgaJpZM4I5Wv5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFAVDgoCed2b_fjlTkz9JeEXhCrlsks5qNhoTgaJpZM4I5Wv5.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/702"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>