3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 03:33:35 +00:00

internalize only terms not atoms

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-03-16 06:53:14 -07:00
parent cb8c6ffafc
commit 648568489c

View file

@ -340,7 +340,7 @@ namespace smt {
void context::ensure_internalized(expr* e) {
if (!e_internalized(e))
internalize(e, false);
if (is_app(e))
if (is_app(e) && !m.is_bool(e))
internalize_term(to_app(e));
}