File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
const always_valid_eltypes = (AbstractFloat, AbstractIrrational, Integer, Rational)
33
33
34
34
""" A dictionary mapping ADTypes to the element types they use."""
35
- eltypes_by_adtype = Dict (
35
+ eltypes_by_adtype = Dict {Type,Tuple} (
36
36
AutoForwardDiff => (ForwardDiff. Dual,),
37
37
AutoReverseDiff => (
38
38
ReverseDiff. TrackedArray,
@@ -205,8 +205,8 @@ if INCLUDE_MOONCAKE
205
205
push! (ADTYPES, AutoMooncake (; config= nothing ))
206
206
end
207
207
if INCLUDE_ENZYME
208
- push! (ADTYPES, AutoEnzyme (; mode = Enzyme. set_runtime_activity (Enzyme. Forward)))
209
- push! (ADTYPES, AutoEnzyme (; mode = Enzyme. set_runtime_activity (Enzyme. Reverse)))
208
+ push! (ADTYPES, AutoEnzyme (; mode= Enzyme. set_runtime_activity (Enzyme. Forward)))
209
+ push! (ADTYPES, AutoEnzyme (; mode= Enzyme. set_runtime_activity (Enzyme. Reverse)))
210
210
end
211
211
212
212
# Check that ADTypeCheckContext itself works as expected.
You can’t perform that action at this time.
0 commit comments