From 70d3d218c0c4c35490e2a293b6a8db056ac1133e Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 30 Oct 2007 01:28:21 +0000 Subject: [PATCH] Actually we only go up to 99. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@475 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/java/com/threerings/parlor/rating/util/Percentiler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/parlor/rating/util/Percentiler.java b/src/java/com/threerings/parlor/rating/util/Percentiler.java index a5fc484b..e436c5a0 100644 --- a/src/java/com/threerings/parlor/rating/util/Percentiler.java +++ b/src/java/com/threerings/parlor/rating/util/Percentiler.java @@ -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 () { - float[] scores = new float[101]; - for (int ii = 0; ii <= 100; ii++) { + float[] scores = new float[100]; + for (int ii = 0; ii < 100; ii++) { scores[ii] = getRequiredScore(ii); } return scores;