mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 18:36:41 +00:00
This commit is contained in:
parent
ed92b8437c
commit
4c9517260c
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ namespace smt {
|
||||||
// Requires that the theory arithmetic internalizer accept non simplified terms of the form t1 - t2
|
// Requires that the theory arithmetic internalizer accept non simplified terms of the form t1 - t2
|
||||||
// if t1 and t2 already have slacks (theory variables) associated with them.
|
// if t1 and t2 already have slacks (theory variables) associated with them.
|
||||||
// It also accepts terms with repeated variables (Issue #429).
|
// It also accepts terms with repeated variables (Issue #429).
|
||||||
app * le = nullptr;
|
|
||||||
app * ge = nullptr;
|
app_ref le(m), ge(m);
|
||||||
if (m_util.is_numeral(t1))
|
if (m_util.is_numeral(t1))
|
||||||
std::swap(t1, t2);
|
std::swap(t1, t2);
|
||||||
if (m_util.is_numeral(t2)) {
|
if (m_util.is_numeral(t2)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue