Skip to content

Commit f7fa57f

Browse files
leftover repeated function def
1 parent ba5e519 commit f7fa57f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OptimizationBase"
22
uuid = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
33
authors = ["Vaibhav Dixit <[email protected]> and contributors"]
4-
version = "2.0.3"
4+
version = "2.0.4"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

ext/OptimizationZygoteExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ function OptimizationBase.instantiate_function(
371371
end
372372
end
373373
elseif fgh == true
374-
fgh!(G, H, θ, p = p) = f.fgh(G, H, θ, p)
374+
fgh! = (G, H, θ, p = p) -> f.fgh(G, H, θ, p)
375375
else
376376
fgh! = nothing
377377
end

0 commit comments

Comments
 (0)