<p><a href="https://github.com/zoq" class="user-mention">@zoq</a> I found this std::logic_error thrown by armadillo with KathirvalavakumarSubavathiInitialization. Have added the fix here <a href="https://github.com/mlpack/mlpack/pull/572" class="issue-link js-issue-link" data-url="https://github.com/mlpack/mlpack/issues/572" data-id="140734423" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#572</a>. However, I am not sure why only I faced this error, is it something to do with my armadillo version ?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/414#issuecomment-196416428">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLBcgrDQvFSF4epC3NWSjQEBmFt8ks5ptZbMgaJpZM4DnsTV.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/414#issuecomment-196416428"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>