Skip to content

Commit

Permalink
Fix a bug in bit pack.
Browse files Browse the repository at this point in the history
  • Loading branch information
Qingxin Wu committed Oct 24, 2024
1 parent 9d48dcc commit b41bb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3813,8 +3813,8 @@ Initial implementation of this specification defines
1. Otherwise if |i| is |inputSize| - 1, then:
1. [=iteration/While=] |numBits| < 8:
1. Set |currentByte| to |currentByte| * 2.
1. [=list/Append=] |currentByte| to |packed|.
1. Increment |numBits| by 1.
1. [=list/Append=] |currentByte| to |packed|.
1. [=Assert=] that |packed|'s [=list/size=] is (|inputSize| + 7) / 8.0.
1. Return |packed|.
</div>
Expand Down

0 comments on commit b41bb93

Please sign in to comment.