mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 05:30:51 +00:00
fix infinite loop issue in def::operator+, other issues remain though for #6404
The example from #6404 results in an incorrect result. It uses integer division on private variables where MBQI support is new and not tested for substitutions.
This commit is contained in:
parent
cdfab8cb13
commit
eaf52f4c32
2 changed files with 31 additions and 4 deletions
|
@ -86,6 +86,7 @@ namespace opt {
|
|||
def operator/(rational const& n) const;
|
||||
def operator*(rational const& n) const;
|
||||
def operator+(rational const& n) const;
|
||||
def substitute(unsigned v, def const& other) const;
|
||||
void normalize();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue