mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Polysat updates (#5524)
* Move boolean resolution into conflict_core * Move store() into dedup functionality * comments * Call gc() * Add inference_engine sketch
This commit is contained in:
parent
d1118cb178
commit
dde8fb0c37
8 changed files with 172 additions and 92 deletions
|
@ -81,6 +81,12 @@ public:
|
|||
m_vector[m_vector.size()-1] = tmp;
|
||||
}
|
||||
|
||||
T* detach_back() {
|
||||
SASSERT(!empty());
|
||||
T* tmp = m_vector.back();
|
||||
m_vector.back() = nullptr;
|
||||
return tmp;
|
||||
}
|
||||
|
||||
ptr_vector<T> detach() {
|
||||
ptr_vector<T> tmp(std::move(m_vector));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue