Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
paulxshen committed Jan 13, 2025
1 parent d4ea7a1 commit bf4826a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/del.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ function diffpad(a, vl, vr=vl; dims=1, diff=diff, autodiff=true)
# println()

if autodiff
vl (0, nothing) && @nogradvars vl
vr (0, nothing) && @nogradvars vr
vl (0, nothing) && @nograd vl
vr (0, nothing) && @nograd vr
b = diff(a; dims)
b = pad(b, vl, vr, l * sel, r * sel)
else
Expand Down

0 comments on commit bf4826a

Please sign in to comment.