Skip to content

Commit

Permalink
remove underscore in worst bigrams
Browse files Browse the repository at this point in the history
  • Loading branch information
semi committed Aug 7, 2021
1 parent 262d297 commit 8ed5cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func ListWorstBigrams(l Layout) []FreqPair {

dist := twoKeyDist(*p1, *p2) + (2*Weight.FSpeed.KeyTravel)
cost := 100* (((sfbweight * sfb) + (dsfbweight * dsfb)) * dist) / Weight.FSpeed.KPS[f]
bigrams = append(bigrams, FreqPair{*k1+"_"+*k2,cost})
bigrams = append(bigrams, FreqPair{*k1+*k2,cost})
}
}
}
Expand Down

0 comments on commit 8ed5cc2

Please sign in to comment.