From 315dc80eb0ae64f7cae14c6e5950f9ed4c2c4ac9 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Tue, 10 Nov 2015 15:09:52 -0500 Subject: [PATCH] toggle default for bv2int decision procedure support to avoid confusing users. Issue #301 Signed-off-by: Nikolaj Bjorner --- src/smt/params/smt_params_helper.pyg | 2 +- src/smt/params/theory_bv_params.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smt/params/smt_params_helper.pyg b/src/smt/params/smt_params_helper.pyg index e84f3654c..56d393d41 100644 --- a/src/smt/params/smt_params_helper.pyg +++ b/src/smt/params/smt_params_helper.pyg @@ -33,7 +33,7 @@ def_module_params(module_name='smt', ('qi.cost', STRING, '(+ weight generation)', 'expression specifying what is the cost of a given quantifier instantiation'), ('qi.max_multi_patterns', UINT, 0, 'specify the number of extra multi patterns'), ('bv.reflect', BOOL, True, 'create enode for every bit-vector term'), - ('bv.enable_int2bv', BOOL, False, 'enable support for int2bv and bv2int operators'), + ('bv.enable_int2bv', BOOL, True, 'enable support for int2bv and bv2int operators'), ('arith.random_initial_value', BOOL, False, 'use random initial values in the simplex-based procedure for linear arithmetic'), ('arith.solver', UINT, 2, 'arithmetic solver: 0 - no solver, 1 - bellman-ford based solver (diff. logic only), 2 - simplex based solver, 3 - floyd-warshall based solver (diff. logic only) and no theory combination'), ('arith.nl', BOOL, True, '(incomplete) nonlinear arithmetic support based on Groebner basis and interval propagation'), diff --git a/src/smt/params/theory_bv_params.h b/src/smt/params/theory_bv_params.h index d7c9f903b..00565969e 100644 --- a/src/smt/params/theory_bv_params.h +++ b/src/smt/params/theory_bv_params.h @@ -39,7 +39,7 @@ struct theory_bv_params { m_bv_lazy_le(false), m_bv_cc(false), m_bv_blast_max_size(INT_MAX), - m_bv_enable_int2bv2int(false) { + m_bv_enable_int2bv2int(true) { updt_params(p); }