Skip to content

Commit

Permalink
fix #6585
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Feb 14, 2023
1 parent 44fcf60 commit a976b78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/math/lp/emonics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ void emonics::pop(unsigned n) {
TRACE("nla_solver_mons", tout << "pop: " << n << "\n";);
SASSERT(invariant());
for (unsigned i = 0; i < n; ++i) {
m_u_f_stack.pop_scope(1);
m_ve.pop(1);
m_u_f_stack.pop_scope(1);
}
SASSERT(invariant());
SASSERT(monics_are_canonized());
Expand Down
4 changes: 2 additions & 2 deletions src/math/lp/emonics.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class emonics {
}
};

union_find<emonics> m_u_f;
trail_stack m_u_f_stack;
union_find<emonics> m_u_f;
mutable svector<lpvar> m_find_key; // the key used when looking for a monic with the specific variables
var_eqs<emonics>& m_ve;
mutable vector<monic> m_monics; // set of monics
Expand Down Expand Up @@ -125,8 +125,8 @@ class emonics {
other calls to push/pop to the var_eqs should take place.
*/
emonics(var_eqs<emonics>& ve):
m_u_f(*this),
m_u_f_stack(),
m_u_f(*this),
m_ve(ve),
m_visited(0),
m_cg_hash(*this),
Expand Down

0 comments on commit a976b78

Please sign in to comment.