Skip to content

Commit

Permalink
[Core] fix TickTreeEchidnaTest
Browse files Browse the repository at this point in the history
  • Loading branch information
0xVolosnikov committed Feb 12, 2024
1 parent a267a5c commit a88725c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/contracts/test/echidna/TickTreeEchidnaTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ contract TickTreeEchidnaTest {

function _getPositionInBitmap(int24 tick) private pure returns (int16 wordIndex, uint8 bitIndex) {
assembly {
wordIndex := and(tick, 0xFF)
bitIndex := sar(8, tick)
wordIndex := sar(8, tick)
bitIndex := and(tick, 0xFF)
}
}

Expand Down

0 comments on commit a88725c

Please sign in to comment.