Skip to content

Conversation

@cphyc
Copy link
Member

@cphyc cphyc commented Jan 29, 2026

PR Summary

This can happen whenever the number of cells of a given resolution in a given file is larger than (2**31-1) / 8 / nvar, where nvar is the number of variables being tracked (e.g., for density + pressure + velocities, that'd be 5).

PR Checklist

  • New features are documented, with docstrings and narrative docs
  • Adds a test for any bugs fixed. Adds tests for new features.

@cphyc cphyc changed the title [BUG] Fix overflow when seeking through files [BUG, RAMSES] Fix overflow when seeking through files Jan 29, 2026
@cphyc cphyc added bug code frontends Things related to specific frontends labels Jan 29, 2026
This can happen whenever the number of cells of a given resolution in a
given file is larger than (2**31-1) / 8 / nvar, where nvar is the number
of variables being tracked (e.g., for density + pressure + velocities,
that'd be 5
@cphyc cphyc marked this pull request as ready for review January 30, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug code frontends Things related to specific frontends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant