3
0
Fork 0
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:
Nikolaj Bjorner 2022-10-18 14:52:30 -07:00
parent cdfab8cb13
commit eaf52f4c32
2 changed files with 31 additions and 4 deletions

View file

@ -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();
};