Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bruse committed Apr 19, 2024
1 parent b193888 commit bdcf790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/bin/score/score.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func main() {
if *calculateZimtohrli {
sumOfSquares := 0.0
for channelIndex := range distAudio.Samples {
distance := float64(z.Distance(refAudio.Samples[channelIndex], refAudio.Samples[channelIndex]))
distance := float64(z.Distance(refAudio.Samples[channelIndex], distAudio.Samples[channelIndex]))
sumOfSquares += distance * distance
}
dist.Scores[scores.Zimtohrli] = math.Sqrt(sumOfSquares / float64(len(distAudio.Samples)))
Expand Down

0 comments on commit bdcf790

Please sign in to comment.