Skip to content

Commit 4da0e25

Browse files
Rogerluonickrobinson251
andauthored
Update src/grad.jl
Co-Authored-By: Nick Robinson <npr251@gmail.com>
1 parent a5194a2 commit 4da0e25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/grad.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export grad, jacobian, jvp, j′vp, to_vec
2+
23
function replace_arg(x, xs::Tuple, k::Int)
34
return ntuple(length(xs)) do p
45
if p == k

0 commit comments

Comments
 (0)