always copy clauses for backup
This commit is contained in:
parent
90736156ae
commit
9c8827c309
@ -349,7 +349,7 @@ LiftedCircuit::tryIndependence (
|
||||
return false;
|
||||
}
|
||||
if (Globals::verbosity > 1) {
|
||||
backupClauses_ = clauses;
|
||||
backupClauses_ = Clause::copyClauses (clauses);
|
||||
}
|
||||
Clauses depClauses = { clauses[0] };
|
||||
Clauses indepClauses (clauses.begin() + 1, clauses.end());
|
||||
@ -827,7 +827,8 @@ LiftedCircuit::createSmoothNode (
|
||||
if (it != originClausesMap_.end()) {
|
||||
backupClauses_ = it->second;
|
||||
} else {
|
||||
backupClauses_ = { ((dynamic_cast<LeafNode*>(*prev))->clause()) };
|
||||
backupClauses_ = Clause::copyClauses (
|
||||
{((dynamic_cast<LeafNode*>(*prev))->clause())});
|
||||
}
|
||||
}
|
||||
Clauses clauses;
|
||||
|
Reference in New Issue
Block a user