Skip to content

Commit b9f74ce

Browse files
authored
use i
1 parent b257eeb commit b9f74ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stage1/forward.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ function shuffle_up(r::TaylorBundle{N, Tuple{B1,B2}}) where {N, B1,B2}
7373
return TaylorBundle{N+1}(the_primal, the_partials)
7474
else
7575
#XXX: am dubious of the correctness of this
76-
a_partials = ntuple(i->partial(r, ii)[1], N)
77-
b_partials = ntuple(i->partial(r, ii)[2], N)
76+
a_partials = ntuple(i->partial(r, i)[1], N)
77+
b_partials = ntuple(i->partial(r, i)[2], N)
7878
the_partials = (a_partials..., primal_b, b_partials...)
7979
return TangentBundle{N+1}(the_primal, the_partials)
8080
end

0 commit comments

Comments
 (0)