mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
commit
f525f43e43
155 changed files with 3188 additions and 1043 deletions
|
@ -212,7 +212,7 @@ unsigned read_datalog(char const * file) {
|
|||
if (early_termination) {
|
||||
IF_VERBOSE(1, verbose_stream() << "restarting saturation\n";);
|
||||
|
||||
uint64 new_timeout = static_cast<uint64>(timeout)*ctx.initial_restart_timeout();
|
||||
uint64_t new_timeout = static_cast<uint64_t>(timeout)*ctx.initial_restart_timeout();
|
||||
if(new_timeout>UINT_MAX) {
|
||||
timeout=UINT_MAX;
|
||||
}
|
||||
|
|
|
@ -55,8 +55,8 @@ struct front_end_resource_limit : public lp::lp_resource_limit {
|
|||
void run_solver(lp_params & params, char const * mps_file_name) {
|
||||
|
||||
reslimit rlim;
|
||||
unsigned timeout = gparams::get().get_uint("timeout", 0);
|
||||
unsigned rlimit = gparams::get().get_uint("rlimit", 0);
|
||||
unsigned timeout = gparams::get_ref().get_uint("timeout", 0);
|
||||
unsigned rlimit = gparams::get_ref().get_uint("rlimit", 0);
|
||||
front_end_resource_limit lp_limit(rlim);
|
||||
|
||||
scoped_rlimit _rlimit(rlim, rlimit);
|
||||
|
|
|
@ -115,7 +115,7 @@ static unsigned parse_opt(std::istream& in, opt_format f) {
|
|||
case l_undef: std::cout << "unknown\n"; break;
|
||||
}
|
||||
|
||||
if (r != l_false && gparams::get().get_bool("model_validate", false)) {
|
||||
if (r != l_false && gparams::get_ref().get_bool("model_validate", false)) {
|
||||
model_ref mdl;
|
||||
opt.get_model(mdl);
|
||||
expr_ref_vector hard(m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue