mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 12:58:44 +00:00
fix assertion, start addressing #1087 by using size_t
This commit is contained in:
parent
0ef14acf2e
commit
e48e7ef7be
|
@ -1412,7 +1412,7 @@ namespace smt {
|
||||||
<< "max gain: " << max_gain << "\n";);
|
<< "max gain: " << max_gain << "\n";);
|
||||||
|
|
||||||
|
|
||||||
SASSERT(max_gain.is_minus_one() || max_gain.is_one());
|
SASSERT(max_gain.is_minus_one() || !max_gain.is_neg());
|
||||||
SASSERT(min_gain.is_minus_one() || min_gain.is_one());
|
SASSERT(min_gain.is_minus_one() || min_gain.is_one());
|
||||||
SASSERT(is_int(x) == min_gain.is_one());
|
SASSERT(is_int(x) == min_gain.is_one());
|
||||||
|
|
||||||
|
|
|
@ -9194,7 +9194,7 @@ namespace smt {
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
int len = atoi(lenStr.encode().c_str());
|
int len = atoi(lenStr.encode().c_str());
|
||||||
bool coverAll = false;
|
bool coverAll = false;
|
||||||
vector<int_vector, true, long long> options;
|
vector<int_vector, true, size_t> options;
|
||||||
int_vector base;
|
int_vector base;
|
||||||
|
|
||||||
TRACE("str", tout
|
TRACE("str", tout
|
||||||
|
|
Loading…
Reference in a new issue