Skip to content

Commit cd2afd3

Browse files
authored
Merge pull request #2 from samyerkes/dev
Fixed static method.
2 parents e90e17c + 9e2e135 commit cd2afd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Config
6060
Normalize the score to be between -1 and 1 using an alpha that
6161
approximates the max expected value
6262
*/
63-
public function normalize($score, $alpha = 15)
63+
public static function normalize($score, $alpha = 15)
6464
{
6565
$norm_score = $score/sqrt(($score*$score) + $alpha);
6666
return $norm_score;

0 commit comments

Comments
 (0)