mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
bool_vector, some spacer tidy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2ed26e8e73
commit
b889b110ee
106 changed files with 239 additions and 266 deletions
|
@ -1272,7 +1272,7 @@ namespace polynomial {
|
|||
SASSERT(sz == num_vars());
|
||||
DEBUG_CODE({
|
||||
// check whether xs is really a permutation
|
||||
svector<bool> found;
|
||||
bool_vector found;
|
||||
found.resize(num_vars(), false);
|
||||
for (unsigned i = 0; i < sz; i++) {
|
||||
SASSERT(xs[i] < num_vars());
|
||||
|
@ -3218,7 +3218,7 @@ namespace polynomial {
|
|||
}
|
||||
};
|
||||
|
||||
svector<bool> m_found_vars;
|
||||
bool_vector m_found_vars;
|
||||
void vars(polynomial const * p, var_vector & xs) {
|
||||
xs.reset();
|
||||
m_found_vars.reserve(num_vars(), false);
|
||||
|
|
|
@ -138,7 +138,7 @@ namespace upolynomial {
|
|||
// the factors to select from
|
||||
factors_type const & m_factors;
|
||||
// which factors are enabled
|
||||
svector<bool> m_enabled;
|
||||
bool_vector m_enabled;
|
||||
// the size of the current selection
|
||||
int m_current_size;
|
||||
// the current selection: indices at positions < m_current_size, other values are maxed out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue