Skip to content

Commit 9e50465

Browse files
Make bv_refinementt compatible with contexts
Must not bypass prop_conv_solvert::set_assumptions by calling prop directly.
1 parent ac58131 commit 9e50465

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/solvers/refinement/bv_refinement_loop.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ decision_proceduret::resultt bv_refinementt::prop_solve()
101101
approximation.under_assumptions.end());
102102
}
103103

104-
prop.set_assumptions(assumptions);
104+
bv_pointerst::set_assumptions(assumptions);
105105
propt::resultt result=prop.prop_solve();
106-
prop.set_assumptions(parent_assumptions);
106+
bv_pointerst::set_assumptions(parent_assumptions);
107107

108108
switch(result)
109109
{
@@ -136,5 +136,5 @@ void bv_refinementt::check_UNSAT()
136136
void bv_refinementt::set_assumptions(const bvt &_assumptions)
137137
{
138138
parent_assumptions=_assumptions;
139-
prop.set_assumptions(_assumptions);
139+
bv_pointerst::set_assumptions(_assumptions);
140140
}

0 commit comments

Comments
 (0)