mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 01:35:47 +00:00
fix bugs reported by Anvesh
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0a964c324e
commit
fd1f4b9191
3 changed files with 10 additions and 2 deletions
|
@ -820,6 +820,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
private:
|
||||
// Update the assignment of variable v, that is,
|
||||
// m_assignment[v] += inc
|
||||
// This method also stores the old value of v in the assignment stack.
|
||||
|
@ -829,6 +830,12 @@ public:
|
|||
m_assignment[v] += inc;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
void inc_assignment(dl_var v, numeral const& inc) {
|
||||
m_assignment[v] += inc;
|
||||
}
|
||||
|
||||
|
||||
struct every_var_proc {
|
||||
bool operator()(dl_var v) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue