We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
int_of_term
1 parent 170c2c3 commit 8ec6207Copy full SHA for 8ec6207
src/smtml/dolmenexpr_to_expr.ml
@@ -132,7 +132,7 @@ module DolmenIntf = struct
132
133
let int_of_term (t : DTerm.t) =
134
match t.term_descr with
135
- | Cst { builtin = DBuiltin.Integer i; _ } ->
+ | Cst { builtin = DBuiltin.Bitvec i; _ } ->
136
(* There may be a proper alternative to int_of_string somewhere,
137
since its hidden by prelude. *)
138
Z.to_int (Z.of_string i)
0 commit comments