-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bswap16 short header words in field_forall
bswap32 cannot be indiscriminatly applied to the int32 temporary, as it essentially is a byte-reorder and left-shift when applies to an int16. The symptom is that certain header fields extracted this way show up in the absurd range (some 65 million), when normal values are in the few thousands, such as dt/sample-interval. Addresses #368 #368
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters