Skip to content

DiffEqBase: Int64 interp_points range length for 32-bit - #4487

Merged
ChrisRackauckas merged 3 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-32bit-interp-points-range
Sep 9, 2026
Merged

ChrisRackauckas merged 3 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-32bit-interp-points-range

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

  • lib/DiffEqBase: range(tprev, stop=t, length=callback.interp_points) with Int===Int32 hits InexactError in Base._linspace on i686.
  • Forces Int64(callback.interp_points).
  • Unblocks JumpProcesses x86 VR-jump / gene-expr tests.

Test plan

  • DiffEqBase / ODE CI green
  • JumpProcesses x86 no longer fails in check_event_occurence linspace

Made with Cursor

On i686, range(..., length::Int32) can throw InexactError inside
Base._linspace during variable-rate jump event checks.

Co-authored-by: Cursor <[email protected]>
ChrisRackauckas and others added 2 commits September 9, 2026 05:55
QA ExplicitImports flagged stale alg_extrapolates and recursivecopy!.

Co-authored-by: Cursor <[email protected]>
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Merge request (32-bit SciML CI parity)

DiffEqBase: Int64(callback.interp_points) for range(..., length=...) — fixes i686 InexactError in _linspace (Sundials Callbacks and anything using continuous callbacks on 32-bit).

Please merge + register DiffEqBase promptly; Sundials#567 and several downstream packages currently URL-source this branch.

@ChrisRackauckas
ChrisRackauckas merged commit ea7400f into SciML:master Sep 9, 2026
277 checks passed
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

@JuliaRegistrator register subdir=lib/DiffEqBase

@JuliaRegistrator

Copy link
Copy Markdown

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

ChrisRackauckas added a commit that referenced this pull request Sep 11, 2026
- Precompile SDE solves through specialization levels (#4467)
- Add 32-bit InterfaceI CI lane via test_groups.toml (#4480)
- incorporate time/stab filter for larger steps in FBDF (#3878)
- Keep 32-bit CI lane hard-failing. (#4482)
- Correct and validate FBDF time and stability filters (#4484)
- Keep DAE init from overwriting uprev during callback truncation (#4486)
- DiffEqBase: Int64 interp_points range length for 32-bit (#4487)
- Release OrdinaryDiffEqBDF 2.4.7 (#4490)
- Unify companion global error estimators into GlobalErrorEstimation (#4492)
- Add adjoint-based global error control as a SciMLSensitivity extension (#3953)



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) <[email protected]>
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.

3 participants