@@ -38,7 +38,7 @@ void bv_refinementt::approximationt::add_under_assumption(literalt l)
38
38
39
39
bvt bv_refinementt::convert_floatbv_op (const exprt &expr)
40
40
{
41
- if (!do_arithmetic_refinement )
41
+ if (!config_. refine_arithmetic )
42
42
return SUB::convert_floatbv_op (expr);
43
43
44
44
if (ns.follow (expr.type ()).id ()!=ID_floatbv ||
@@ -52,7 +52,7 @@ bvt bv_refinementt::convert_floatbv_op(const exprt &expr)
52
52
53
53
bvt bv_refinementt::convert_mult (const exprt &expr)
54
54
{
55
- if (!do_arithmetic_refinement || expr.type ().id ()==ID_fixedbv)
55
+ if (!config_. refine_arithmetic || expr.type ().id ()==ID_fixedbv)
56
56
return SUB::convert_mult (expr);
57
57
58
58
// we catch any multiplication
@@ -100,7 +100,7 @@ bvt bv_refinementt::convert_mult(const exprt &expr)
100
100
101
101
bvt bv_refinementt::convert_div (const div_exprt &expr)
102
102
{
103
- if (!do_arithmetic_refinement || expr.type ().id ()==ID_fixedbv)
103
+ if (!config_. refine_arithmetic || expr.type ().id ()==ID_fixedbv)
104
104
return SUB::convert_div (expr);
105
105
106
106
// we catch any division
@@ -118,7 +118,7 @@ bvt bv_refinementt::convert_div(const div_exprt &expr)
118
118
119
119
bvt bv_refinementt::convert_mod (const mod_exprt &expr)
120
120
{
121
- if (!do_arithmetic_refinement || expr.type ().id ()==ID_fixedbv)
121
+ if (!config_. refine_arithmetic || expr.type ().id ()==ID_fixedbv)
122
122
return SUB::convert_mod (expr);
123
123
124
124
// we catch any mod
@@ -228,7 +228,7 @@ void bv_refinementt::check_SAT(approximationt &a)
228
228
229
229
// if(a.over_state==1) { debug() << "DISAGREEMENT!\n"; exit(1); }
230
230
231
- if (a.over_state <max_node_refinement)
231
+ if (a.over_state <config_. max_node_refinement )
232
232
{
233
233
bvt r;
234
234
float_utilst float_utils (prop);
0 commit comments