<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r69396677">src/mlpack/core/data/load.hpp</a>:</p>
<pre style='color:#555'>&gt; @@ -96,7 +96,11 @@ bool Load(const std::string&amp; filename,
&gt;            arma::Mat&lt;eT&gt;&amp; matrix,
&gt;            DatasetMapper&lt;PolicyType&gt;&amp; info,
&gt;            const bool fatal = false,
&gt; -          const bool transpose = true);
&gt; +          const bool transpose = true)
&gt; +{
&gt; +  PolicyType policy;
&gt; +  return Load(filename, matrix, info, policy, fatal, transpose);
</pre>
<p>thanks for the feedback!<br>
I think the modifier in mlpack in general only returns the reference of the member value.<br>
should I provide another <code>void Policy(PolicyType value)</code> member function for more usability?</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/694/files/a340f69411b6a6d16106023e4bbcceb9d4688322..21d94c04652e8faadd5e8991103a3b73b4c81033#r69396677">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFGOHqlOEno7BjivRWPL2ziAWJRvKks5qSBcJgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDGOx4q4DTvEXxKpNeH_ad66uAB4ks5qSBcJgaJpZM4I07W-.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/694/files/a340f69411b6a6d16106023e4bbcceb9d4688322..21d94c04652e8faadd5e8991103a3b73b4c81033#r69396677"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>