Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 2, 2024
1 parent 66f5ba7 commit 5a15880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sugar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ grad = gradient(ReverseWithPrimal, mul, [2.0], Const([3.0]))
push!(states, Compiler.AnyState)
else
state = Compiler.active_reg_inner(genty, (), nothing)
push!(states, Compiler.AnyState)
push!(states, state)
end
end

Expand Down

0 comments on commit 5a15880

Please sign in to comment.