File tree Expand file tree Collapse file tree
DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ using Mooncake:
3333
3434const AnyAutoMooncake{C} = Union{AutoMooncake{C},AutoMooncakeForward{C}}
3535
36- DI. check_available (:: AnyAutoMooncake ) = true
36+ DI. check_available (:: AnyAutoMooncake{C} ) where {C} = true
3737
3838get_config (:: AnyAutoMooncake{Nothing} ) = Config ()
3939get_config (backend:: AnyAutoMooncake{<:Config} ) = backend. config
Original file line number Diff line number Diff line change 5858function DI. pushforward (
5959 f!:: F ,
6060 y,
61- prep:: MooncakeOneArgPushforwardPrep ,
61+ prep:: MooncakeTwoArgPushforwardPrep ,
6262 backend:: AutoMooncakeForward ,
6363 x,
6464 tx:: NTuple ,
@@ -72,7 +72,7 @@ function DI.value_and_pushforward!(
7272 f!:: F ,
7373 y:: Y ,
7474 ty:: NTuple ,
75- prep:: MooncakeOneArgPushforwardPrep ,
75+ prep:: MooncakeTwoArgPushforwardPrep ,
7676 backend:: AutoMooncakeForward ,
7777 x:: X ,
7878 tx:: NTuple ,
@@ -100,7 +100,7 @@ function DI.pushforward!(
100100 f!:: F ,
101101 y,
102102 ty:: NTuple ,
103- prep:: MooncakeOneArgPushforwardPrep ,
103+ prep:: MooncakeTwoArgPushforwardPrep ,
104104 backend:: AutoMooncakeForward ,
105105 x,
106106 tx:: NTuple ,
You can’t perform that action at this time.
0 commit comments