prappleizer / prappleizer.github.io

This repo contains my introductory python textbook for astronomy students, which covers the basics of learning the language with an emphasis on astronomical applications.
http://prappleizer.github.io/textbook.pdf
55 stars 22 forks source link

Minor Mistake #2

Open jmdc112596 opened 3 years ago

jmdc112596 commented 3 years ago

Hey Imad! I really loved your MCMC tutorial. I found a minor mistake, I think. When you initialize the "p0" variable, you turn it into an array, however, when you define "initial", it's already an array. This throws a "NaN" error when you run the code. Minor, but I thought I'd let you know. Thanks! - John