Skip to content

Commit

Permalink
Fixing euro2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Downey committed Nov 11, 2014
1 parent 0e0759b commit 9d9d4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euro2.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def AverageLikelihood(suite, data):
total = 0

for hypo, prob in suite.Items():
like = suite.Likelihood(hypo, data)
like = suite.Likelihood(data, hypo)
total += prob * like

return total
Expand Down

0 comments on commit 9d9d4dd

Please sign in to comment.