Skip to content

Commit 8a0c9fd

Browse files
committed
Fix
1 parent 7f63ad9 commit 8a0c9fd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
actions: write
2626
contents: read
2727
strategy:
28-
fail-fast: false # TODO: toggle
28+
fail-fast: true # TODO: toggle
2929
matrix:
3030
version:
3131
- "1.10"

DifferentiationInterface/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DifferentiationInterface"
22
uuid = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
33
authors = ["Guillaume Dalle", "Adrian Hill"]
4-
version = "0.6.45"
4+
version = "0.6.46"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

DifferentiationInterfaceTest/src/scenarios/modify.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Base.show(io::IO, f::StoreInCache) = print(io, "StoreInCache($(f.f))")
183183
(sc::StoreInCache{:out})(x, y_cache::Tuple) = sc(x, first(y_cache))
184184
(sc::StoreInCache{:in})(y, x, y_cache::Tuple) = sc(y, x, first(y_cache))
185185

186-
function (sc::StoreInCache{:out})(x, y_cache::AbstractArray)
186+
function (sc::StoreInCache{:out})(x, y_cache)
187187
y = sc.f(x)
188188
if y isa Number
189189
y_cache[1] = y
@@ -194,7 +194,7 @@ function (sc::StoreInCache{:out})(x, y_cache::AbstractArray)
194194
end
195195
end
196196

197-
function (sc::StoreInCache{:in})(y, x, y_cache::AbstractArray)
197+
function (sc::StoreInCache{:in})(y, x, y_cache)
198198
sc.f(y_cache, x)
199199
copyto!(y, y_cache)
200200
return nothing

0 commit comments

Comments
 (0)