mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
fix: compute model even if (potentially) new interface eqns are produced
close #19
This commit is contained in:
parent
3ebc532486
commit
c35d721c6d
1 changed files with 2 additions and 1 deletions
|
|
@ -460,7 +460,8 @@ let assert_lits_ ~final (self : t) (acts : theory_actions) (lits : Lit.t Iter.t)
|
||||||
if new_intf_eqns <> [] then (
|
if new_intf_eqns <> [] then (
|
||||||
let (module A) = acts in
|
let (module A) = acts in
|
||||||
List.iter (fun lit -> A.add_lit ~default_pol:false lit) new_intf_eqns
|
List.iter (fun lit -> A.add_lit ~default_pol:false lit) new_intf_eqns
|
||||||
) else if not (has_delayed_actions self) then (
|
);
|
||||||
|
if not (has_delayed_actions self) then (
|
||||||
(* if theory combination didn't add new clauses, compute a model *)
|
(* if theory combination didn't add new clauses, compute a model *)
|
||||||
let m = mk_model_ self lits in
|
let m = mk_model_ self lits in
|
||||||
self.last_model <- Some m
|
self.last_model <- Some m
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue