Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit a248217

Browse files
Update ext/OptimizationEnzymeExt.jl
1 parent c9b6dca commit a248217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/OptimizationEnzymeExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function set_runtime_activity2(
8585
Enzyme.set_runtime_activity(a, RTA)
8686
end
8787
function_annotation(::Nothing) = Nothing
88-
function_annotation(::AutoEnzyme{<:Any, A}) = A
88+
function_annotation(::AutoEnzyme{<:Any, A}) where A = A
8989
function OptimizationBase.instantiate_function(f::OptimizationFunction{true}, x,
9090
adtype::AutoEnzyme, p, num_cons = 0;
9191
g = false, h = false, hv = false, fg = false, fgh = false,

0 commit comments

Comments
 (0)