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
Hi @fredo-dedup, there is sth that stopped working with the recent change of interface for the init input argument of rdiff(). Say that I have an expression with two variables x and v, of types Vector{Float64} and Vector{Any}. This won't work anymore:
using ReverseDiffSource
rdiff(:(v[1]*x+v[2]), x=Vector{Float64}, v=Any[Matrix{Float64}, Vector{Float64}], ignore=:v)
In the past, it was possible to do sth along the lines:
using ReverseDiffSource
rdiff(:(v[1]*x+v[2]), x=ones(2), v=Any[ones(2, 2), ones(2)], ignore=:v)
Is there a solution that wouldn't require breaking the existing interface in Klara?