Skip to content

Commit fb3a20b

Browse files
chore: unthunk only u
1 parent 1c4b37c commit fb3a20b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/concrete_solve.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,8 +1591,7 @@ function DiffEqBase._concrete_solve_adjoint(
15911591
elseif eltype(ybar) <: AbstractArray
15921592
Array(VectorOfArray(ybar))
15931593
elseif ybar isa Tangent
1594-
yy = unthunk(ybar)
1595-
yy = map(unthunk.(yy.u)) do u
1594+
yy = map(unthunk.(ybar.u)) do u
15961595
(u isa ZeroTangent || u isa NoTangent) ? zero(u0) : u
15971596
end
15981597
Array(VectorOfArray(yy))

0 commit comments

Comments
 (0)