We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7be0a92 commit fb11a9cCopy full SHA for fb11a9c
1 file changed
src/stage1/recurse_fwd.jl
@@ -24,7 +24,8 @@ function (::∂☆new{1})(B::Type, xs::AbstractTangentBundle{1}...)
24
tangent_nt = NamedTuple{names}(tangent_tup)
25
Tangent{B, typeof(tangent_nt)}(tangent_nt)
26
end
27
- return TaylorBundle{1, B}(the_primal, (the_partial,))
+ B2 = typeof(the_primal) # HACK: if the_primal actually has types in it then we want to make sure we get DataType not Type(...)
28
+ return TaylorBundle{1, B2}(the_primal, (the_partial,))
29
30
31
function (::∂☆new{N})(B::Type, xs::AbstractTangentBundle{N}...) where {N}
0 commit comments