mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
interpolation fix
This commit is contained in:
parent
0696a7ef50
commit
33f941aaec
1 changed files with 3 additions and 0 deletions
|
@ -594,6 +594,7 @@ void iz3mgr::get_assign_bounds_rule_coeffs(const ast &proof, std::vector<rationa
|
||||||
}
|
}
|
||||||
rats[i-1] = r;
|
rats[i-1] = r;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if(rats[1].is_neg()){ // work around bug -- if all coeffs negative, negate them
|
if(rats[1].is_neg()){ // work around bug -- if all coeffs negative, negate them
|
||||||
for(unsigned i = 1; i < rats.size(); i++){
|
for(unsigned i = 1; i < rats.size(); i++){
|
||||||
if(!rats[i].is_neg())
|
if(!rats[i].is_neg())
|
||||||
|
@ -601,6 +602,8 @@ void iz3mgr::get_assign_bounds_rule_coeffs(const ast &proof, std::vector<rationa
|
||||||
rats[i] = -rats[i];
|
rats[i] = -rats[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
abs_rat(rats);
|
||||||
extract_lcd(rats);
|
extract_lcd(rats);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue