mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
fix nex order and cross_nested
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
eaba70e916
commit
dc39ef761c
4 changed files with 50 additions and 10 deletions
|
@ -202,6 +202,10 @@ public:
|
|||
return out;
|
||||
}
|
||||
|
||||
void add_child(const rational& r) {
|
||||
m_coeff *= r;
|
||||
}
|
||||
|
||||
void add_child(nex* e) {
|
||||
if (e->is_scalar()) {
|
||||
m_coeff *= to_scalar(e)->value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue