Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue 46 #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix Issue 46 #47

wants to merge 2 commits into from

Conversation

neurolabusc
Copy link
Collaborator

Fixes #46.

  • Int64 values were read as 8 × int8, rather than 8 × uint8. Any value greater than 127 caused an overflow.
  • Int64 values did not correctly read sign.
  • Int64 values ignored littleEndian so failed for big-endian data.
  • The reader name has been changed from getLongAt() to getInt64At() to be explicit (in C longs are only ≥32 bits).

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.

Wrong vox_offset when reading a NIFTI-2 header
1 participant