Skip to content

Commit b32cba0

Browse files
committed
Fix
1 parent 8ec86e0 commit b32cba0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
actions: write
9292
contents: read
9393
strategy:
94-
fail-fast: false # TODO: toggle
94+
fail-fast: true # TODO: toggle
9595
matrix:
9696
version:
9797
- '1.10'

DifferentiationInterface/src/first_order/pullback.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ function _value_and_pullback_via_pushforward(
452452
dy,
453453
contexts::Vararg{Context, C},
454454
) where {F, C}
455-
a = only(value_and_pushforward(f!, y, pushforward_prep, backend, x, (oneunit(x),), contexts...))
455+
a = last(value_and_pushforward(f!, y, pushforward_prep, backend, x, (oneunit(x),), contexts...))
456456
dx = dot(a, dy)
457457
return dx
458458
end

0 commit comments

Comments
 (0)