mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05: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
|
@ -91,10 +91,7 @@ public:
|
|||
nex_mul* f = m_nex_creator.mk_mul();
|
||||
for(const auto & p : m_nex_creator.occurences_map()) { // randomize here: todo
|
||||
if (p.second.m_occs == size) {
|
||||
unsigned pow = p.second.m_power;
|
||||
while (pow --) {
|
||||
f->add_child(m_nex_creator.mk_var(p.first));
|
||||
}
|
||||
f->add_child_in_power(m_nex_creator.mk_var(p.first), p.second.m_power);
|
||||
}
|
||||
}
|
||||
return f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue