fix other issue in th-bool preprocessing

This commit is contained in:
Simon Cruanes 2021-08-22 01:31:59 -04:00
parent 27796da5a8
commit 9aee35c6ce
No known key found for this signature in database
GPG key ID: 4AC01D0849AA62B6

View file

@ -277,7 +277,7 @@ module Make(A : ARG) : S with module A = A = struct
and get_lit_uncached si t : Lit.t option =
match A.view_as_bool t with
| B_opaque_bool _ -> None
| B_bool b -> Some (PA.mk_lit (T.bool self.tst b))
| B_bool _ -> None
| B_not u ->
let lit = get_lit_opt u in
CCOpt.map Lit.neg lit