<p>In <a href="https://github.com/mlpack/mlpack/pull/663#discussion_r65363172">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; @@ -518,7 +542,7 @@ void LSHSearch&lt;SortPolicy&gt;::Serialize(Archive&amp; ar,
&gt;  
&gt;    // Delete existing projections, if necessary.
&gt;    if (Archive::is_loading::value)
&gt; -    projections.clear();
&gt; +    projections.zeros(0, 0, 0); // TODO: correct way to clear this?
</pre>
<p><code>.reset()</code> is probably the easiest way to clear the cube.</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/pull/663/files/7ebf1daa6de66aa5c047b27ff61866c52fa295d6#r65363172">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFNR8jx5P-MdJRBvvN_mzM4bONbcbks5qHY4ugaJpZM4Iq6tl">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFD2fBGTdAPOObnMa5b9ksGvQg09yks5qHY4ugaJpZM4Iq6tl.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/663/files/7ebf1daa6de66aa5c047b27ff61866c52fa295d6#r65363172"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>