mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
remove eq constraint, fix gc for external constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f8a3857adb
commit
b36bc11b85
15 changed files with 133 additions and 275 deletions
|
@ -44,6 +44,8 @@ namespace polysat {
|
|||
inequality as_inequality(bool is_positive) const override;
|
||||
unsigned hash() const override;
|
||||
bool operator==(constraint const& other) const override;
|
||||
bool is_eq() const { return m_rhs.is_zero(); }
|
||||
pdd const& p() const { SASSERT(is_eq()); return m_lhs; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue