Skip to content

Commit 7be0a92

Browse files
authored
Merge pull request #229 from JuliaDiff/oscardssmith-shuffle-down-taylor
make `shuffle_down` of `TaylorBundle` use `TaylorBundle` rather than `ExplicitBundle`
2 parents 9cae206 + bba2b88 commit 7be0a92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stage1/forward.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ end
2626

2727
function shuffle_down(b::TaylorBundle{N, B}) where {N, B}
2828
Base.@constprop :aggressive function _sdown(i::Int64)
29-
ExplicitTangentBundle{1}(b.tangent.coeffs[i], (b.tangent.coeffs[i+1],))
29+
TaylorBundle{1}(b.tangent.coeffs[i], (b.tangent.coeffs[i+1],))
3030
end
3131
TaylorBundle{N-1}(
32-
ExplicitTangentBundle{1}(b.primal, (b.tangent.coeffs[1],)),
32+
TaylorBundle{1}(b.primal, (b.tangent.coeffs[1],)),
3333
ntuple(_sdown, N-1))
3434
end
3535

0 commit comments

Comments
 (0)