mirror of
https://github.com/Z3Prover/z3
synced 2025-10-11 02:08:07 +00:00
initialize glue in constructor to ensure it gets set
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f7e14b3283
commit
d8a2e9d008
4 changed files with 12 additions and 16 deletions
|
@ -1762,11 +1762,8 @@ namespace sat {
|
|||
\brief Compute the psm of all learned clauses.
|
||||
*/
|
||||
void solver::save_psm() {
|
||||
clause_vector::iterator it = m_learned.begin();
|
||||
clause_vector::iterator end = m_learned.end();
|
||||
for (; it != end; ++it) {
|
||||
clause & c = *(*it);
|
||||
c.set_psm(psm(c));
|
||||
for (clause* cp : m_learned) {
|
||||
cp->set_psm(psm(*cp));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue