joelgrus / data-science-from-scratch

code for Data Science From Scratch book
MIT License
8.63k stars 4.5k forks source link

Typo in code on p. 79 #18

Open geanders opened 8 years ago

geanders commented 8 years ago

I imagine you have already caught this since you've fixed the code on GitHub, but the function definition for binomial on p. 79, you define it as binomial(n, p), and the next function (make_hist) won't work unless binomial's defined as binomial(p, n).