Skip to content

Corrected padding of by one issue - no change on output - #1

Merged
jkcmusork merged 1 commit into
jkcmusork:get-descriptorfrom
JoergAtGithub:fix_padding_of_by_one
Feb 5, 2023
Merged

jkcmusork merged 1 commit into
jkcmusork:get-descriptorfrom
JoergAtGithub:fix_padding_of_by_one

Conversation

@JoergAtGithub

Copy link
Copy Markdown

You are right, the first bit position of the padding had an offset of -1. But this had no influence, because the last bit had the same offset and only the size of the padding matters for the output.
What was really wrong, was the size calculation in line 659, which required to specify first bit / last bit with the one bit overlap, you noticed.

… the size of the padding is considered anyway
@jkcmusork
jkcmusork merged commit 741f33d into jkcmusork:get-descriptor Feb 5, 2023
@jkcmusork

Copy link
Copy Markdown
Owner

Looks good. Thanks!

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.

2 participants