3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

tune for unit test, delay initialize re-solver

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-05-13 11:49:33 -07:00
parent f2bee7f16a
commit 1e143971c3
4 changed files with 9 additions and 6 deletions

View file

@ -7,7 +7,6 @@
static bool build_instance(char const * filename, sat::solver& s, sat::local_search& local_search)
{
char line[16383];
int cur_term;
// for temperally storage
std::ifstream infile(filename);
@ -18,6 +17,7 @@ static bool build_instance(char const * filename, sat::solver& s, sat::local_sea
}
infile.getline(line, 16383);
#ifdef _WINDOWS
int cur_term;
int num_vars = 0, num_constraints = 0;
sscanf_s(line, "%d %d", &num_vars, &num_constraints);
//std::cout << "number of variables: " << num_vars << '\n';