mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
enable coercions when interpolation creates MILP constraints. Issue #217
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d7da64f946
commit
a8b47b4fb2
|
@ -1407,6 +1407,7 @@ public:
|
|||
|
||||
hash_map<ast,ast> dual_map;
|
||||
std::vector<ast> cvec, vars_seen;
|
||||
m().enable_int_real_coercions(true);
|
||||
ast rhs = make_real(rational(0));
|
||||
for(unsigned i = 0; i < npcons.size(); i++){
|
||||
ast c= mk_fresh_constant("@c",real_type());
|
||||
|
|
Loading…
Reference in a new issue