mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-09 20:55:39 -05:00
Prevent semantic propagations at level 0
This commit is contained in:
parent
8cdfe65048
commit
2bba885266
1 changed files with 4 additions and 0 deletions
|
|
@ -568,6 +568,10 @@ module Make
|
|||
else match Plugin.eval a.lit with
|
||||
| Plugin_intf.Unknown -> None
|
||||
| Plugin_intf.Valued (b, l) ->
|
||||
if l = [] then
|
||||
raise (Invalid_argument (
|
||||
Format.asprintf "msat:core/internal.ml: %s"
|
||||
"semantic propagation at level 0 are currently forbidden"));
|
||||
let atom = if b then a else a.neg in
|
||||
enqueue_semantic atom l;
|
||||
Some b
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue