Skip to content

Fix AutoChainRules{Int} assertion on 32-bit Julia - #185

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-32bit-autochainrules-int
Sep 9, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-32bit-autochainrules-int

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

  • x86 CI fails ADTypes.Auto(:ChainRules, 1) isa AutoChainRules{Int64}
  • Use AutoChainRules{Int} so the type matches native Int on both word sizes

Test plan

  • Core x86 green
  • Existing Core x64 green

Made with Cursor

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 <cursoragent@cursor.com>
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

x86 Core is green on this PR. Merge when convenient — unblocks SciML 32-bit CI parity (no architecture-specific hard fails).

@ChrisRackauckas
ChrisRackauckas merged commit 3257a4c into SciML:main Sep 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants