Skip to content

Commit bba2b88

Browse files
authored
make shuffle_down of TaylorBundle use TaylorBundle rather than ExplicitBundle
@Keno does this look right to you?
1 parent 4aab1d7 commit bba2b88

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
@@ -27,10 +27,10 @@ end
2727

2828
function shuffle_down(b::TaylorBundle{N, B}) where {N, B}
2929
Base.@constprop :aggressive function _sdown(i::Int64)
30-
ExplicitTangentBundle{1}(b.tangent.coeffs[i], (b.tangent.coeffs[i+1],))
30+
TaylorBundle{1}(b.tangent.coeffs[i], (b.tangent.coeffs[i+1],))
3131
end
3232
TaylorBundle{N-1}(
33-
ExplicitTangentBundle{1}(b.primal, (b.tangent.coeffs[1],)),
33+
TaylorBundle{1}(b.primal, (b.tangent.coeffs[1],)),
3434
ntuple(_sdown, N-1))
3535
end
3636

0 commit comments

Comments
 (0)