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
which works really well.
The issue is, however, that I get a couple allocations whenever I call this. Is there any way to reduce these by e.g. initalizing the problem once and then updating it later?
The functions f and g stay constant over time, although their arguments bla change over time.
I really like the NLsolve.jl package in conjunction with LineSearches.jl - great stuff!
I have a scalar, relatively simple nonlinear equation that I can solve using
which works really well.
The issue is, however, that I get a couple allocations whenever I call this. Is there any way to reduce these by e.g. initalizing the problem once and then updating it later?
The functions
f
andg
stay constant over time, although their argumentsbla
change over time.Xref: https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585
The text was updated successfully, but these errors were encountered: