3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

fix compiler warnings and errors

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-04-03 17:03:07 -07:00
parent 155f629d96
commit afd83f41b8
3 changed files with 11 additions and 4 deletions

View file

@ -220,6 +220,7 @@ static void on_ctrl_c(int) {
raise(SIGINT);
}
#if 0
static void validate_sat(hilbert_basis& hb) {
ast_manager m;
reg_decl_plugins(m);
@ -239,6 +240,7 @@ static void validate_sat(hilbert_basis& hb) {
lbool r = sol->check_sat(0,0);
std::cout << r << "\n";
}
#endif
static void saturate_basis(hilbert_basis& hb) {
signal(SIGINT, on_ctrl_c);

View file

@ -54,7 +54,6 @@ namespace karr {
SASSERT(is_sat == l_true);
dst.reset();
unsigned basis_size = hb.get_basis_size();
bool first_initial = true;
for (unsigned i = 0; i < basis_size; ++i) {
bool is_initial;
vector<rational> soln;
@ -165,6 +164,7 @@ namespace karr {
return v;
}
#if 0
static vector<rational> V(int i, int j, int k, int l, int m) {
vector<rational> v;
v.push_back(rational(i));
@ -174,6 +174,7 @@ namespace karr {
v.push_back(rational(m));
return v;
}
#endif
static vector<rational> V(int i, int j, int k, int l, int x, int y, int z) {
vector<rational> v;