Skip to content

Commit

Permalink
fix #3978
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Apr 22, 2020
1 parent caa5b09 commit f94abf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/math/lp/emonics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,10 @@ void emonics::remove_cg_mon(const monic& m) {
}
else if (v[0] == u) {
v.erase(u);
auto v0 = v[0];
unsigned_vector vv(v);
m_cg_table.remove(u);
m_cg_table.insert(v[0], vv);
m_cg_table.insert(v0, vv);
}
else {
v.erase(u);
Expand Down

0 comments on commit f94abf6

Please sign in to comment.