Skip to content

Fix LArray UndefInitializer MethodError on 32-bit Julia - #224

Merged
ChrisRackauckas merged 3 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-32bit-larray-undef
Sep 9, 2026
Merged

ChrisRackauckas merged 3 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-32bit-larray-undef

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

  • Change LArray{...}(::UndefInitializer, n::Int64) to n::Integer
  • Fixes x86 CI MethodError with ::Int32 lengths

Test plan

  • Ubuntu x86 Core lane green
  • Existing LArray tests still pass on x64

Made with Cursor

ChrisRackauckas and others added 3 commits September 7, 2026 11:27
On 32-bit Julia, similar/undef paths pass Int32 lengths; the Int64-only
method never matched (MethodError in x86 CI).

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
similar(::SLArray{Int}) stores a native Int vector; comparing against
Array{Int64} fails when Int===Int32.

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.

@ChrisRackauckas
ChrisRackauckas merged commit 5558665 into SciML:master Sep 9, 2026
13 checks passed
ChrisRackauckas added a commit that referenced this pull request Sep 10, 2026
- Add 32-bit Core CI lane via test_groups.toml (#223)
- Fix LArray UndefInitializer MethodError on 32-bit Julia (#224)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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