Skip to content

Commit 8043a88

Browse files
committed
Fix rotate_{left|right} order of arguments in dolmenexpr_to_expr
1 parent 86a6b58 commit 8043a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/smtml/dolmenexpr_to_expr.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ module DolmenIntf = struct
269269

270270
let rem_u = DTerm.Bitv.urem
271271

272-
let rotate_left t1 t2 = DTerm.Bitv.rotate_left (int_of_term t1) t2
272+
let rotate_left t1 t2 = DTerm.Bitv.rotate_left (int_of_term t2) t1
273273

274-
let rotate_right t1 t2 = DTerm.Bitv.rotate_right (int_of_term t1) t2
274+
let rotate_right t1 t2 = DTerm.Bitv.rotate_right (int_of_term t2) t1
275275

276276
let lt t1 t2 = DTerm.Bitv.slt t1 t2
277277

0 commit comments

Comments
 (0)