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
{{ message }}
Repository navigation
[bug] Make sparse get_at return None for oversized coordinates #123
Describe the bug
On a 64-bit target, get_at([usize::MAX]) returns None for a dense indexed family but panics for a sparse family. The sparse path builds an IndexKey using an infallible conversion to i64.
Expected behaviour
We could make coordinate-to-key conversion fallible using i64::try_from, propagate conversion failure as None in the sparse lookup path, and preserve the documented panic for the infallible at and indexing APIs when coordinates are absent.
Additional context
This issue is tagged good first issue specifically to help new contributors get hands-on with the codebase and wants to contribute in the long term. Please do not use AI for this issue.
Activity