<p>I think I've narrowed it down slightly:</p>
<p>Breakpoint 3, mlpack::regression::LogisticRegressionmlpack::optimization::L_BFGS::LogisticRegression (this=0x7fffffffd8a0, predictors=..., responses=..., lambda=0)<br>
at /home/john/pangwas/code/mlpack/build_logit_debug/include/mlpack/methods/logistic_regression/logistic_regression_impl.hpp:32<br>
32 LogisticRegressionFunction errorFunction(predictors, responses, lambda);<br>
(gdb) p predictors.n_rows<br>
$15 = 3069</p>
<p>(gdb) s<br>
mlpack::regression::LogisticRegressionFunction::LogisticRegressionFunction (this=0x7fffffffcf00, predictors=..., responses=..., lambda=0)<br>
at /home/john/pangwas/code/mlpack/src/mlpack/methods/logistic_regression/logistic_regression_function.cpp:25<br>
25 lambda(lambda)<br>
(gdb) p predictors.n_rows<br>
$18 = 4294970365</p>
<p>i.e. in the passing of predictors at line 32 of logistic_regression_impl.hpp to LogisiticRegressionFunction (defined at line 19 of logistic_regression_function.cpp) something I don't understand is happening</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/428#issuecomment-88068041">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFMS4sb_yR8hEfIJVoCSrYZtGa0rhks5n6oxwgaJpZM4D3Y7n.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/428#issuecomment-88068041"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>