mirror of
https://github.com/Z3Prover/z3
synced 2025-08-13 22:41:15 +00:00
re-introduce simple implementation of linear monomial propagation for evaluation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6559e5fb32
commit
2297b0334b
7 changed files with 47 additions and 32 deletions
|
@ -596,7 +596,7 @@ bool emonics::invariant() const {
|
|||
}
|
||||
|
||||
|
||||
void emonics::set_propagated(monic& m) {
|
||||
void emonics::set_propagated(monic const& m) {
|
||||
struct set_unpropagated : public trail {
|
||||
emonics& em;
|
||||
unsigned var;
|
||||
|
@ -607,7 +607,7 @@ void emonics::set_propagated(monic& m) {
|
|||
}
|
||||
};
|
||||
SASSERT(!m.is_propagated());
|
||||
m.set_propagated(true);
|
||||
(*this)[m.var()].set_propagated(true);
|
||||
m_u_f_stack.push(set_unpropagated(*this, m.var()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue