Skip to content

Commit

Permalink
init value
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed May 1, 2022
1 parent d1f1e4c commit be653da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/opt/opt_cores.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ namespace opt {
scoped_update _upd1(*this, "max_conflicts", UINT_MAX, m_max_conflicts);
m_cores.reset();
m_weight.reset();
m_best_cost = -1;
for (expr* s : ctx.soft())
m_weight.insert(s, ctx.weight(s));

Expand Down

0 comments on commit be653da

Please sign in to comment.