mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-10 05:03:59 -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
|
else match Plugin.eval a.lit with
|
||||||
| Plugin_intf.Unknown -> None
|
| Plugin_intf.Unknown -> None
|
||||||
| Plugin_intf.Valued (b, l) ->
|
| 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
|
let atom = if b then a else a.neg in
|
||||||
enqueue_semantic atom l;
|
enqueue_semantic atom l;
|
||||||
Some b
|
Some b
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue