liblbfgs icon indicating copy to clipboard operation
liblbfgs copied to clipboard

Sample code fails for large N

Open Toeplitz opened this issue 6 years ago • 1 comments

When trying the sample code https://github.com/chokkan/liblbfgs/blob/master/sample/sample.cpp, the code will crash when using N = 80601.

Please let me know if you are able to reproduce.

Toeplitz avatar Feb 15 '19 12:02 Toeplitz

What is the exact repro? I've tried with the following change and I was unable to reproduce. Do you have a stack trace?

-#define N 100
+#define N 80601

cynthia avatar Jun 04 '19 11:06 cynthia