<p>Nice catch, thanks.  Once the Travis build is successful and shows this didn't accidentally break anything, I'll merge it in.  It looks correct to me---when I differentiate the objective function for i == 0, it definitely shouldn't have the term <code>coordinates[1]</code> in it...</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/611#issuecomment-208452689">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDQSS1H04M4xy5IREJytmxsr05NOks5p2oBNgaJpZM4IEm4D.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/611#issuecomment-208452689"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>