Fix build.

Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f
main
Keisuke Kuroyanagi 2013-10-02 23:02:42 +09:00
parent d25cd26f1a
commit 3d92954120
1 changed files with 0 additions and 1 deletions

View File

@ -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 {