mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
parent
53b5ca3c2b
commit
04e51ffcb5
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ namespace smt {
|
|||
if (coeffs.empty()) {
|
||||
return mk_num(n, w);
|
||||
}
|
||||
if (coeffs.size() == 1 && coeffs[0].second.is_one()) {
|
||||
if (coeffs.size() == 1 && coeffs[0].second.is_one() && ctx.e_internalized(n)) {
|
||||
return coeffs[0].first;
|
||||
}
|
||||
if (coeffs.size() == 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue