Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
davideklund committed Jan 30, 2025
1 parent b2d3a1b commit 41c3744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/sciml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ acting on the object only depend on its velocity, not its position.
end
adtype = Optimization.AutoZygote()
optf = Optimization.OptimizationFunction((x, p) -> loss(x), adtype)
optf = Optimization.OptimizationFunction((w,params) -> loss(w), adtype)
optprob = Optimization.OptimizationProblem(optf, ComponentVector{Float64}(p))
# epochs = 250
Expand Down

0 comments on commit 41c3744

Please sign in to comment.