Skip to content

Commit d6645ab

Browse files
committed
Fix
1 parent 4d6a50d commit d6645ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt/differentiate_with.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ end
2626
function Mooncake.rrule!!(
2727
dw::CoDual{<:DI.DifferentiateWith{C}},
2828
x::CoDual{<:Number},
29-
contexts::Vararg{CoDual{<:NumberOrArray}, C}
29+
contexts::Vararg{CoDual, C}
3030
) where {C}
3131
@assert tangent_type(typeof(dw)) == NoTangent
3232
primal_func = primal(dw)
@@ -66,7 +66,7 @@ end
6666
function Mooncake.rrule!!(
6767
dw::CoDual{<:DI.DifferentiateWith{C}},
6868
x::CoDual{<:AbstractArray{<:Number}},
69-
contexts::Vararg{<:CoDual, C}
69+
contexts::Vararg{CoDual, C}
7070
) where {C}
7171
@assert tangent_type(typeof(dw)) == NoTangent
7272
primal_func = primal(dw)

0 commit comments

Comments
 (0)