Skip to content

Commit

Permalink
Fix wrong assignment in computeMetricVariance for Frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
riemanli committed Feb 6, 2024
1 parent 83ae24f commit 7e46298
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ object VariancesImpl : Variances {
return FrequencyVariances(
relativeVariances = frequencyVariances.relativeVariances.mapValues { coefficient * it.value },
kPlusRelativeVariances =
frequencyVariances.relativeVariances.mapValues { coefficient * it.value },
frequencyVariances.kPlusRelativeVariances.mapValues { coefficient * it.value },
countVariances = frequencyVariances.countVariances.mapValues { coefficient * it.value },
kPlusCountVariances =
frequencyVariances.kPlusCountVariances.mapValues { coefficient * it.value },
Expand Down

0 comments on commit 7e46298

Please sign in to comment.