Skip to content

Commit

Permalink
leftover repeated function def
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Sep 17, 2024
1 parent ba5e519 commit f7fa57f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OptimizationBase"
uuid = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
authors = ["Vaibhav Dixit <vaibhavyashdixit@gmail.com> and contributors"]
version = "2.0.3"
version = "2.0.4"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
2 changes: 1 addition & 1 deletion ext/OptimizationZygoteExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function OptimizationBase.instantiate_function(
end
end
elseif fgh == true
fgh!(G, H, θ, p = p) = f.fgh(G, H, θ, p)
fgh! = (G, H, θ, p = p) -> f.fgh(G, H, θ, p)
else
fgh! = nothing
end
Expand Down

0 comments on commit f7fa57f

Please sign in to comment.