Actually we only go up to 99.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@475 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -191,12 +191,12 @@ public class Percentiler
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the scores required to obtain a percentile rating from 0 to 100.
|
* Returns the scores required to obtain a percentile rating from 0 to 99.
|
||||||
*/
|
*/
|
||||||
public float[] getRequiredScores ()
|
public float[] getRequiredScores ()
|
||||||
{
|
{
|
||||||
float[] scores = new float[101];
|
float[] scores = new float[100];
|
||||||
for (int ii = 0; ii <= 100; ii++) {
|
for (int ii = 0; ii < 100; ii++) {
|
||||||
scores[ii] = getRequiredScore(ii);
|
scores[ii] = getRequiredScore(ii);
|
||||||
}
|
}
|
||||||
return scores;
|
return scores;
|
||||||
|
|||||||
Reference in New Issue
Block a user