Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Aug 27, 2024
1 parent e5dcfdc commit 847f6b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function DI.value_and_pullback(
extras::NoPullbackExtras,
)
dx = make_zero(x)
return DI.value_and_pullback!(f, Tangents(dx), backend, x, ty, extras)
return DI.value_and_pullback!(f, SingleTangent(dx), backend, x, ty, extras)
end

function DI.pullback(
Expand Down

0 comments on commit 847f6b7

Please sign in to comment.