3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 03:07:07 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-06-18 10:05:34 -07:00
parent b93171de78
commit 5f22e98396

View file

@ -260,6 +260,8 @@ public:
void add_literal(expr* e) override {
if (m.is_proof(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
m_lits.push_back(e);
}