Skip to content

Commit d95953b

Browse files
committed
Fixes
1 parent fc7aabc commit d95953b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

DifferentiationInterfaceTest/ext/DifferentiationInterfaceTestJLArraysExt/DifferentiationInterfaceTestJLArraysExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ myjl(x::DI.Cache{<:Union{Tuple,NamedTuple}}) = map(myjl, map(DI.Cache, DI.unwrap
2323
myjl(::Nothing) = nothing
2424

2525
function myjl(scen::DIT.Scenario{op,pl_op,pl_fun}) where {op,pl_op,pl_fun}
26-
(; f, x, y, t, contexts, prep_args, res1, res2) = scen
26+
(; f, x, y, t, contexts, prep_args, res1, res2, name) = scen
2727
return DIT.Scenario{op,pl_op,pl_fun}(;
2828
f=myjl(f),
2929
x=myjl(x),
@@ -33,6 +33,7 @@ function myjl(scen::DIT.Scenario{op,pl_op,pl_fun}) where {op,pl_op,pl_fun}
3333
prep_args=map(myjl, prep_args),
3434
res1=myjl(res1),
3535
res2=myjl(res2),
36+
name,
3637
)
3738
end
3839

DifferentiationInterfaceTest/ext/DifferentiationInterfaceTestStaticArraysExt/DifferentiationInterfaceTestStaticArraysExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636
mystatic(::Nothing) = nothing
3737

3838
function mystatic(scen::DIT.Scenario{op,pl_op,pl_fun}) where {op,pl_op,pl_fun}
39-
(; f, x, y, t, contexts, prep_args, res1, res2) = scen
39+
(; f, x, y, t, contexts, prep_args, res1, res2, name) = scen
4040
return DIT.Scenario{op,pl_op,pl_fun}(;
4141
f=mystatic(f),
4242
x=mystatic(x),
@@ -46,6 +46,7 @@ function mystatic(scen::DIT.Scenario{op,pl_op,pl_fun}) where {op,pl_op,pl_fun}
4646
prep_args=map(mystatic, prep_args),
4747
res1=mystatic(res1),
4848
res2=mystatic(res2),
49+
name=name,
4950
)
5051
end
5152

0 commit comments

Comments
 (0)