Skip to content

Commit

Permalink
fix() change the shift to a non-power of 2
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu authored Jan 15, 2024
1 parent 2c6ab9c commit 2966b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fhevm/contracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func FheLibShr(t *testing.T, fheUintType FheUintType, scalar bool) {
rhs = 1
case FheUint16:
lhs = 4283
rhs = 2
rhs = 3
case FheUint32:
lhs = 1333337
rhs = 3
Expand Down Expand Up @@ -1917,7 +1917,7 @@ func FheShr(t *testing.T, fheUintType FheUintType, scalar bool) {
rhs = 1
case FheUint16:
lhs = 4283
rhs = 2
rhs = 3
case FheUint32:
lhs = 1333337
rhs = 3
Expand Down

0 comments on commit 2966b7b

Please sign in to comment.