You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add generic findfirstsortedequal fallback (fixes 32-bit) and drop the broken 32-bit CI job (#97)
Follow-up to #95. Two things:
1. Fix a correctness gap #95 shipped. Unlike `findfirstequal`,
`findfirstsortedequal` had ONLY the `(Int64, DenseVector{Int64})` method
and no generic fallback. On 32-bit platforms native `Int` is `Int32`, so
`findfirstsortedequal(::Int32, ::Vector{Int32})` throws MethodError — 8385
such errors in the suite, and a bare `Pkg.test()` / any `Int`-vector caller
on 32-bit is broken. Add a generic `searchsortedfirst` + equality post-check
fallback (mirroring `findfirstequal`), so it works for any sorted vector on
any platform. Add a test covering the fallback on Int32/Int16/Float32.
2. Remove the `tests-32bit` job #95 added to Tests.yml. Running 32-bit Julia on
the 64-bit `ubuntu-latest` runner fails at `setup-julia` (the i686 binary
can't exec without the 32-bit loader, which is not installed before Julia is
invoked: `spawn .../x86/bin/julia ENOENT`), so that job is red regardless of
this fix. A proper 32-bit CI lane needs runner/reusable-workflow changes and
is deferred; Tests.yml goes back to a thin grouped-tests caller.
Minor bump 3.0.3 -> 3.1.0 (new public behavior: `findfirstsortedequal` now
accepts any sorted vector). Verified locally: full Core suite passes on 32-bit
i686 Julia 1.11 (0 errors) and on x64 (171915 tests); GROUP=All passes.
Claude-Session: https://claude.ai/code/session_01EcQkauMQ4KSytnTpJpXUZu
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments