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,
@@ -203,8 +203,8 @@ if INCLUDE_MOONCAKE
203
203
push! (ADTYPES, AutoMooncake (; config= nothing ))
204
204
end
205
205
if INCLUDE_ENZYME
206
- push! (ADTYPES, AutoEnzyme (; mode = Enzyme. set_runtime_activity (Enzyme. Forward)))
207
- push! (ADTYPES, AutoEnzyme (; mode = Enzyme. set_runtime_activity (Enzyme. Reverse)))
206
+ push! (ADTYPES, AutoEnzyme (; mode= Enzyme. set_runtime_activity (Enzyme. Forward)))
207
+ push! (ADTYPES, AutoEnzyme (; mode= Enzyme. set_runtime_activity (Enzyme. Reverse)))
208
208
end
209
209
210
210
# Check that ADTypeCheckContext itself works as expected.
You can’t perform that action at this time.
0 commit comments