Skip to content

Commit

Permalink
Pervasives.= for floats
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven de Oliveira committed May 20, 2019
1 parent 594e02d commit 5715299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/lib/frontend/simple_reasoner_expr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ let ( ** ) v1 v2 =
let (|=) v1 v2 =
match v1, v2 with
Bool b1, Bool b2 -> b1 == b2
| Num n1, Num n2 -> n1 == n2
| Num n1, Num n2 -> (Pervasives.(=)) n1 n2
| _,_ -> false

let (|<>) v1 v2 = not (v1 |= v2)
Expand Down

0 comments on commit 5715299

Please sign in to comment.