Skip to content

Commit 8ec6207

Browse files
committed
int_of_term should expect a bitvector instead of an integer
1 parent 170c2c3 commit 8ec6207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smtml/dolmenexpr_to_expr.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module DolmenIntf = struct
132132

133133
let int_of_term (t : DTerm.t) =
134134
match t.term_descr with
135-
| Cst { builtin = DBuiltin.Integer i; _ } ->
135+
| Cst { builtin = DBuiltin.Bitvec i; _ } ->
136136
(* There may be a proper alternative to int_of_string somewhere,
137137
since its hidden by prelude. *)
138138
Z.to_int (Z.of_string i)

0 commit comments

Comments
 (0)