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
I believe you're right here, but fortunately, later on in line 81, we pass splitg as the g argument, making it effectively equivalent. The code is indeed a bit tricky to read, but I don't anticipate it being a real bug. We can clean it up, though.
I don't quite remember the original reasoning behind using the lambda function, but it had to do with ForwardDiff requiring a function with a single vector argument, while we wanted to handle multi-argument functions as well."
In the following code in
src/approximations/linearization.jl
:ReactiveMP.jl/src/approximations/linearization.jl
Lines 68 to 84 in 308dce4
As far as I am concerned, the lambda function
and
should be
and
Is it correct?
The text was updated successfully, but these errors were encountered: