Skip to content

Commit e530321

Browse files
committed
Fix wrong floating point theory annotation in relops
1 parent 3860ccd commit e530321

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/smtml/smtlib.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@ module Term = struct
275275
Expr.raw_unop Ty_none Trunc a
276276
| "fp.min", [ a; b ] -> Expr.raw_binop Ty_none Min a b
277277
| "fp.max", [ a; b ] -> Expr.raw_binop Ty_none Max a b
278-
| "fp.leq", [ a; b ] -> Expr.raw_relop Ty_bool Le a b
279-
| "fp.lt", [ a; b ] -> Expr.raw_relop Ty_bool Lt a b
280-
| "fp.geq", [ a; b ] -> Expr.raw_relop Ty_bool Ge a b
281-
| "fp.gt", [ a; b ] -> Expr.raw_relop Ty_bool Gt a b
282-
| "fp.eq", [ a; b ] -> Expr.raw_relop Ty_bool Eq a b
278+
| "fp.leq", [ a; b ] -> Expr.raw_relop Ty_none Le a b
279+
| "fp.lt", [ a; b ] -> Expr.raw_relop Ty_none Lt a b
280+
| "fp.geq", [ a; b ] -> Expr.raw_relop Ty_none Ge a b
281+
| "fp.gt", [ a; b ] -> Expr.raw_relop Ty_none Gt a b
282+
| "fp.eq", [ a; b ] -> Expr.raw_relop Ty_none Eq a b
283283
| _, l ->
284284
Log.debug (fun k -> k "apply: unknown %a making app" Symbol.pp symbol);
285285
Expr.app symbol l )

0 commit comments

Comments
 (0)