Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeiwan committed Nov 13, 2023
1 parent 8495791 commit 1e51b7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/milestone_2/tick-bitmap-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ leftmost bit in the next word–this will allow to search for initialized ticks
```

Similarly, when selling $y$, we're:
1. taking next tick's word and bit positions;
1. making a different mask, where all bits to the left of next tick bit position are ones and all the bits to the right
1. taking the current tick's word and bit positions;
1. making a different mask, where all bits to the left of the current tick bit position are ones and all the bits to the right
are zeros;
1. applying the mask to the next tick's word.
1. applying the mask to the current tick's word.

Again, if there's no initialized ticks to the left, the rightmost bit of the previous word is returned:
```solidity
Expand Down

0 comments on commit 1e51b7c

Please sign in to comment.