From 1173e3fcbe3aeb34771955b7986033cbb8974e35 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Tue, 8 Sep 2026 18:56:55 -0400 Subject: [PATCH] Assert AutoChainRules{Int} for portable integer width. On 32-bit Julia the Auto(:ChainRules, 1) config parameter is Int32, so AutoChainRules{Int64} fails while AutoChainRules{Int} matches both. Co-authored-by: Cursor --- test/symbols.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/symbols.jl b/test/symbols.jl index 90d330c..5d121f0 100644 --- a/test/symbols.jl +++ b/test/symbols.jl @@ -1,7 +1,7 @@ using ADTypes using Test -@test ADTypes.Auto(:ChainRules, 1) isa AutoChainRules{Int64} +@test ADTypes.Auto(:ChainRules, 1) isa AutoChainRules{Int} @test ADTypes.Auto(:Diffractor) isa AutoDiffractor @test ADTypes.Auto(:Enzyme) isa AutoEnzyme @test ADTypes.Auto(:FastDifferentiation) isa AutoFastDifferentiation