chokkan / liblbfgs

libLBFGS: a library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)

Home Page:http://www.chokkan.org/software/liblbfgs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample code fails for large N

Toeplitz opened this issue · 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.

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