You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all, thank you for making this code available!
In the readme you mention one should allocate a buffer for g. But there is no way to actually make the library use that buffer, a new buffer will always be allocated inside lbfgsbminimize.
The example allocates a buffer outside, but this is never used.
Do you maybe have a version of the code that allows a user to hand over the gradient buffer to use or would you accept a PR changing the API of lbfgsbminimize to accept a buffer?
-Felix
The text was updated successfully, but these errors were encountered:
Hi,
first of all, thank you for making this code available!
In the readme you mention one should allocate a buffer for
g
. But there is no way to actually make the library use that buffer, a new buffer will always be allocated insidelbfgsbminimize
.The example allocates a buffer outside, but this is never used.
Do you maybe have a version of the code that allows a user to hand over the gradient buffer to use or would you accept a PR changing the API of
lbfgsbminimize
to accept a buffer?-Felix
The text was updated successfully, but these errors were encountered: