Skip to content

Commit

Permalink
trace lemmas
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Nov 15, 2024
1 parent cfc1038 commit eb803b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion divvunspell/src/speller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ where
best.entry(sugg.value.clone())
.and_modify(|entry| {
let weight = sugg.weight + additional_weight;
log::trace!("Reweighting: {} = {} + {}", weight,
log::trace!("=> Reweighting: {} {} = {} + {}",
sugg.value, weight,
sugg.weight, additional_weight);
if entry as &_ > &weight {
*entry = weight
Expand Down

0 comments on commit eb803b4

Please sign in to comment.