mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix build.
Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f
This commit is contained in:
parent
d25cd26f1a
commit
3d92954120
@ -92,7 +92,6 @@ const ForgettingCurveUtils::ProbabilityTable ForgettingCurveUtils::sProbabilityT
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* static */ int ForgettingCurveUtils::decodeProbability(const int encodedProbability) {
|
/* static */ int ForgettingCurveUtils::decodeProbability(const int encodedProbability) {
|
||||||
const int probability = encodedProbability - MIN_VALID_ENCODED_PROBABILITY;
|
|
||||||
if (encodedProbability < MIN_VALID_ENCODED_PROBABILITY) {
|
if (encodedProbability < MIN_VALID_ENCODED_PROBABILITY) {
|
||||||
return NOT_A_PROBABILITY;
|
return NOT_A_PROBABILITY;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user