<p>Hi there,</p>

<p>there seems to be a problem when saving submatrices with the SaveRestoreUtility. When saving a normal object arma::mat obj, the elements are separated by commas. When saving something like obj.cols(0, 2), the elements are separated by pure whitespace. When loading such an object again into an arma::mat, only the first column of the data is loaded. The difference results from the specialisation for arma::mat matrices in the SaveRestoreUtility class. I don't know why this was implemented, as it works fine when the specialisation is just commented out (that's why I suggest that for solving the problem).</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/400">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFArGkSUBhBRUdfag6OcIXnCS_VgPks5npHQ8gaJpZM4Dcqrv.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/400"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>