Semicolon bug fix

This commit is contained in:
Dennis Eichhorn 2018-02-23 11:12:53 +01:00 committed by GitHub
parent 5185b52c91
commit e97bd27eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ class MeasureOfDispersion
throw new ZeroDevisionException();
}
$mean = $hasProbability ? Average::weightedAverage($values, $probabilities) : (isset($mean) ? $mean : Average::arithmeticMean($values););
$mean = $hasProbability ? Average::weightedAverage($values, $probabilities) : (isset($mean) ? $mean : Average::arithmeticMean($values));
$sum = 0;
foreach ($values as $key => $value) {