Skip to content

Commit 24e6710

Browse files
committed
fix uniform tangent shuffle down constructor
1 parent c49b880 commit 24e6710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stage1/forward.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ primal(z::ZeroTangent) = ZeroTangent()
1111
first_partial(x) = partial(x, 1)
1212

1313
shuffle_down(b::UniformBundle{N, B, U}) where {N, B, U} =
14-
UniformBundle{N-1, <:Any}(UniformBundle{1, B}(b.primal, b.tangent.val),
14+
UniformBundle{N-1}(UniformBundle{1, B}(b.primal, b.tangent.val),
1515
UniformBundle{1, U}(b.tangent.val, b.tangent.val))
1616

1717
function shuffle_down(b::ExplicitTangentBundle{N, B}) where {N, B}

0 commit comments

Comments
 (0)