mirror of
https://github.com/Z3Prover/z3
synced 2025-06-04 13:21:22 +00:00
parent
b93171de78
commit
5f22e98396
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ public:
|
||||||
void add_literal(expr* e) override {
|
void add_literal(expr* e) override {
|
||||||
if (m.is_proof(e))
|
if (m.is_proof(e))
|
||||||
m_proof_hint = to_app(e);
|
m_proof_hint = to_app(e);
|
||||||
|
else if (!m.is_bool(e))
|
||||||
|
throw default_exception("literal should be either a Proof or Bool");
|
||||||
else
|
else
|
||||||
m_lits.push_back(e);
|
m_lits.push_back(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue