mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 12:24:28 +00:00
More type stuff and unused code removed.
This commit is contained in:
@ -6,7 +6,7 @@ use DNW\Skills\Numerics\GaussianDistribution;
|
||||
|
||||
final class DrawMargin
|
||||
{
|
||||
public static function getDrawMarginFromDrawProbability($drawProbability, $beta)
|
||||
public static function getDrawMarginFromDrawProbability(float $drawProbability, float $beta): float
|
||||
{
|
||||
// Derived from TrueSkill technical report (MSR-TR-2006-80), page 6
|
||||
|
||||
|
Reference in New Issue
Block a user