Skip to content

Commit

Permalink
sbt scalafmtAll
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Oct 30, 2024
1 parent e3ee697 commit 3f6bbb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/rating/src/main/Glicko.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ object Glicko:
val maxRatingDelta = 700

val system = glicko2.RatingCalculator(glicko2.Tau.default, ratingPeriodsPerDay)
def calculator(advantage: Double) = glicko2.RatingCalculator(glicko2.Tau.default, ratingPeriodsPerDay, advantage)
def calculator(advantage: Double) =
glicko2.RatingCalculator(glicko2.Tau.default, ratingPeriodsPerDay, advantage)

def liveDeviation(p: Perf, reverse: Boolean): Double = {
system.previewDeviation(p.toRating, nowInstant, reverse)
Expand Down

0 comments on commit 3f6bbb6

Please sign in to comment.