Skip to content

Commit 0db6844

Browse files
Update OptimizationZygoteExt.jl
1 parent 21cc072 commit 0db6844

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/OptimizationZygoteExt.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ end
8080

8181
function Optimization.instantiate_function(f, cache::Optimization.ReInitCache,
8282
adtype::AutoZygote, num_cons = 0)
83-
num_cons != 0 && error("AutoZygote does not currently support constraints")
8483

8584
_f = (θ, args...) -> f(θ, cache.p, args...)[1]
8685
if f.grad === nothing

0 commit comments

Comments
 (0)