mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 04:28:17 +00:00
Fixed x86/x64 issues in theory_str
This commit is contained in:
parent
ac519f5656
commit
1a59123819
|
@ -21,7 +21,6 @@
|
||||||
#include"ast_pp.h"
|
#include"ast_pp.h"
|
||||||
#include"ast_ll_pp.h"
|
#include"ast_ll_pp.h"
|
||||||
#include<list>
|
#include<list>
|
||||||
#include<vector>
|
|
||||||
#include<algorithm>
|
#include<algorithm>
|
||||||
#include"theory_seq_empty.h"
|
#include"theory_seq_empty.h"
|
||||||
#include"theory_arith.h"
|
#include"theory_arith.h"
|
||||||
|
@ -9217,8 +9216,8 @@ namespace smt {
|
||||||
coverAll = get_next_val_encode(val_range_map[lastestValIndi], base);
|
coverAll = get_next_val_encode(val_range_map[lastestValIndi], base);
|
||||||
}
|
}
|
||||||
|
|
||||||
long long l = (tries) * distance;
|
size_t l = (tries) * distance;
|
||||||
long long h = l;
|
size_t h = l;
|
||||||
for (int i = 0; i < distance; i++) {
|
for (int i = 0; i < distance; i++) {
|
||||||
if (coverAll)
|
if (coverAll)
|
||||||
break;
|
break;
|
||||||
|
@ -9242,7 +9241,7 @@ namespace smt {
|
||||||
|
|
||||||
expr_ref_vector orList(m), andList(m);
|
expr_ref_vector orList(m), andList(m);
|
||||||
|
|
||||||
for (long long i = l; i < h; i++) {
|
for (size_t i = l; i < h; i++) {
|
||||||
orList.push_back(m.mk_eq(val_indicator, mk_string(longlong_to_string(i).c_str()) ));
|
orList.push_back(m.mk_eq(val_indicator, mk_string(longlong_to_string(i).c_str()) ));
|
||||||
if (m_params.m_AggressiveValueTesting) {
|
if (m_params.m_AggressiveValueTesting) {
|
||||||
literal lit = mk_eq(val_indicator, mk_string(longlong_to_string(i).c_str()), false);
|
literal lit = mk_eq(val_indicator, mk_string(longlong_to_string(i).c_str()), false);
|
||||||
|
|
Loading…
Reference in a new issue