<p>For my research purpose I was using sgd to fit a function.<br>
There is no  segmentation fault if   number of function  is less( about 10).<br>
But when I tried  with number of function &gt;=15 it got segmentation fault.<br>
I thought may be memory allocation of visitationOrder  array has created a problem but it is not the case.<br>
But I think the error is different. please see the debug error.I am unable to figure out the problem <br>
(<a href="https://github.com/ranjan1990/mlpack_optimization/blob/master/error">https://github.com/ranjan1990/mlpack_optimization/blob/master/error</a>)</p>

<p>Please let know whether it is bug in sgd  or am I making some mistake using it ?<br>
<a href="https://github.com/ranjan1990/mlpack_optimization/blob/master/find_equ.cpp">https://github.com/ranjan1990/mlpack_optimization/blob/master/find_equ.cpp</a></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/issues/607">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNbIld4JF_FKeSSllrg5fVmm__bQks5p11f5gaJpZM4IDj0M.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/607"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>