* commit '732b5e133b07d6ead717ed91ec121f8f1b8024a2': Fix build.
This commit is contained in:
commit
9ee3d14b83
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue