<p>I looked into <code>mlpack-2.0.2/src/mlpack/core/tree/cosine_tree/cosine_tree.cpp</code>, and found it use Monte Carlo, so I tested Armadillo with the following codes:</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;armadillo&gt;

using namespace std;
using namespace arma;

int main(int argc, char const* argv[])
{
    cout &lt;&lt; "check 1" &lt;&lt; endl;
    cout &lt;&lt; arma_rng::randn&lt;double&gt;() &lt;&lt; endl;
    cout &lt;&lt; "check 2" &lt;&lt; endl;
    return 0;
}
</code></pre>

<p>And the output is</p>

<pre><code>check 1
</code></pre>

<p>It stuck here too! I tried Armadillo 6.700.7 and 7.200.2, both have this problem. I don't know if this is related.</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/issues/718#issuecomment-231575661">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFCu47T8BUOspcoFxdWDTdKL20VrOks5qUKK9gaJpZM4JIn4Z">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFEU829V5s2sth_PQUXcAHpvXhgl_ks5qUKK9gaJpZM4JIn4Z.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/718#issuecomment-231575661"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>