Skip to content

Commit

Permalink
fix mcsat clause rescaling (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan authored Sep 14, 2024
1 parent c36eb74 commit f13608a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mcsat/bool/bool_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,10 @@ void bool_plugin_rescale_clause_scores(bool_plugin_t* bp) {
clause = bp->lemmas.data[i];
tag = clause_db_get_tag(&bp->clause_db, clause);
assert(tag->type == CLAUSE_LEMMA);
tag->score /= bp->heuristic_params.lemma_limit_factor;
tag->score /= bp->heuristic_params.clause_score_limit;
}

bp->heuristic_params.clause_score_bump_factor /= bp->heuristic_params.lemma_limit_factor;
bp->heuristic_params.clause_score_bump_factor /= bp->heuristic_params.clause_score_limit;
}

static
Expand Down

0 comments on commit f13608a

Please sign in to comment.