3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-27 10:35:38 +00:00

insert theory only once

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-11-27 10:34:01 -08:00
parent 62b3668beb
commit 482fa7dadf

View file

@ -4141,6 +4141,7 @@ namespace smt {
} }
else if (ok == FC_GIVEUP) { else if (ok == FC_GIVEUP) {
f = THEORY; f = THEORY;
if (!m_incomplete_theories.contains(th))
m_incomplete_theories.push_back(th); m_incomplete_theories.push_back(th);
} }
} }