am 0a663971: am 620b1faf: Merge "Fix the touch calibration bug" into ics-mr1
* commit '0a66397106e57165ec8e27a6f868d275da9f3138': Fix the touch calibration bugmain
commit
bd9cf88bef
|
@ -751,6 +751,9 @@ int Correction::RankingAlgorithm::calculateFinalFreq(const int inputIndex, const
|
|||
// \ .
|
||||
// C \ .
|
||||
// 0 R1 R2
|
||||
if (factor <= 0) {
|
||||
return -1;
|
||||
}
|
||||
multiplyRate((int)(factor * 100), &finalFreq);
|
||||
} else if (squaredDistance == PROXIMITY_CHAR_WITHOUT_DISTANCE_INFO) {
|
||||
multiplyRate(WORDS_WITH_PROXIMITY_CHARACTER_DEMOTION_RATE, &finalFreq);
|
||||
|
|
Loading…
Reference in New Issue