mirror of
https://github.com/Z3Prover/z3
synced 2025-08-16 07:45:27 +00:00
strengthening test cases
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
36587e4e91
commit
29710020a5
3 changed files with 53 additions and 16 deletions
|
@ -57,7 +57,7 @@ public:
|
|||
return m_coeffs;
|
||||
}
|
||||
|
||||
bool operator==(const lar_term & a) const { return false; } // take care not to create identical terms
|
||||
bool operator==(const lar_term & a) const { return m_coeffs == a.m_coeffs; }
|
||||
bool operator!=(const lar_term & a) const { return ! (*this == a);}
|
||||
// some terms get used in add constraint
|
||||
// it is the same as the offset in the m_constraints
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue