Skip to content

Commit ccb31eb

Browse files
committed
remove typo in forward-demand for handling call
1 parent 6102c01 commit ccb31eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/forward_demand.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function forward_diff_no_inf!(ir::IRCode, to_diff::Vector{Pair{SSAValue,Int}};
290290
end
291291
replace_call!(ir, SSAValue(ssa), Expr(:call, ∂☆{order, eras_mode}(), newargs...))
292292
elseif isexpr(stmt, :call) || isexpr(stmt, :new)
293-
newargs = map(stmt.args) do @nospecialize argq
293+
newargs = map(stmt.args) do @nospecialize arg
294294
maparg(arg, SSAValue(ssa), order)
295295
end
296296
f = isexpr(stmt, :call) ? ∂☆{order, eras_mode}() : ∂☆new{order}()

0 commit comments

Comments
 (0)