Closed as not planned
Description
Hi there,
I am running a simulation with Trixi.jl and I want to obtain the gradients of the parameters. When I took different trials I found that the algorithm works well when the total time step is less than 1000, however, if the total time steps exceed 1000 there would be an error throwed as
ERROR: MethodError: no method matching Float64(::ForwardDiff.Dual{ForwardDiff.Tag{typeof(predict), Float64}, Float64, 1}) The type Float64 exists, but no method is defined for this combination of argument types when trying to construct it.
Any comments or suggestions would be highly appreciated.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels