Skip to content

Commit

Permalink
Fix off-by-one error in variant sort mapping
Browse files Browse the repository at this point in the history
This didn’t actually have any negative effect because of how it was implemented. But it only happened to work right :D
  • Loading branch information
thecrypticace committed Dec 8, 2022
1 parent 5d49498 commit 12dac7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/offsets.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class Offsets {

return {
...this.create('variants'),
variants: 1n << this.reservedVariantBits,
variants: this.variantOffsets.get(variant),
}
}

Expand Down

0 comments on commit 12dac7d

Please sign in to comment.