Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
markus7800 committed Jan 17, 2024
1 parent e3f1903 commit 51944bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tapedfunction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ function (instr::Instruction{F})(tf::TapedFunction, callback=nothing) where F
else
tf_inner = get!(tf.subtapes, instr, TapedFunction(func, inputs..., cache=true))
tf_inner(inputs...; callback=callback, continuation=true)
@assert tf_inner.retval_binding_slot != 0 # tf_inner should return
end
_update_var!(tf, instr.output, output)
tf.counter += 1
Expand Down

0 comments on commit 51944bc

Please sign in to comment.