<p>If I am not mistaken the <code>arma::dot</code> is not precompiled. So it may be calculated differently due to compiler optimizations. For example if you combine summands in the reverse order you may get another result which differs by a calculational inaccuracy.</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 or <a href="https://github.com/mlpack/mlpack/pull/581#issuecomment-199446454">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFA8xBc_TQ5NGHWZyms4q4Beyf34aks5pvvY5gaJpZM4HzbKc.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/581#issuecomment-199446454"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>