Cannot read v5 logical array with byteswap
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 293
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
I have a matlab logical array that seems to require swap_bytes=true to read. When I try and read it, I get a method error that it can't find a definition for bswap(::Bool). Should this just be a no-op?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce reading a MATLAB v5 logical array with swap_bytes=true and follow the bswap(::Bool) error to the byteswap handling. Confirm that logical values can be read successfully when byteswapping is requested, with no method error and unchanged Boolean values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, matlab
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100