Fix handicap

This commit is contained in:
Claude Brisson
2024-03-24 08:25:11 +01:00
parent ca194941fe
commit 85a1c3c418

View File

@@ -34,7 +34,7 @@ class MacMahonSolver(round: Int,
override fun HandicapParams.pseudoRank(pairable: Pairable): Int { override fun HandicapParams.pseudoRank(pairable: Pairable): Int {
if (useMMS) { if (useMMS) {
return pairable.mms.roundToInt() return pairable.mms.roundToInt() + Pairable.MIN_RANK
} else { } else {
return pairable.rank return pairable.rank
} }