Skip to content

Commit

Permalink
Fix spelling of SMTLIB2 sign_extend operator
Browse files Browse the repository at this point in the history
(underscore not hyphen)
  • Loading branch information
smcc committed Nov 3, 2014
1 parent a65c6a9 commit 1c49eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/smt_lib2.ml
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ object (self)
"(ite ", " " ^ (make_ones bits) ^
" " ^ (make_zeros bits) ^ ")"
| (CAST_SIGNED, _, _) ->
("((_ sign-extend " ^ string_of_int(bits-bits1) ^ ") ", ")")
("((_ sign_extend " ^ string_of_int(bits-bits1) ^ ") ", ")")
| (CAST_LOW, _, REG_1) ->
("(= #b1 ((_ extract "^string_of_int(bits - 1)^" 0) ", "))")
| (CAST_LOW, _, _) ->
Expand Down

0 comments on commit 1c49eb9

Please sign in to comment.