Skip to content

Commit

Permalink
Don't output trivial congruence invariant (closes #1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 30, 2023
1 parent 2c0a08f commit a2a4fa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cdomains/intDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3274,6 +3274,7 @@ struct

let invariant_ikind e ik x =
match x with
| x when is_top x -> Invariant.top ()
| Some (c, m) when m =: Ints_t.zero ->
if get_bool "witness.invariant.exact" then
let c = Ints_t.to_bigint c in
Expand Down

0 comments on commit a2a4fa2

Please sign in to comment.