Closed
Description
An example I tried to run from the documentation, program demo_normal_pdf, has a typo
complx :: loc, scale
where complx
should be complex
.
Upon fixing this the code ran, as have other codes I have tried from the documentation. Is it possible to test all the codes in the online documentation in an automated way?
A comment there says
10 standard norml random variates
where "normal" is misspelled. Typos in comments probably need to be caught manually. Also "imaginary" is misspelled "imagainary".
More nitpicking -- some comments have text immediately after the !, which I think is less readable, for example
!a probability density at 1.0 in standard normal
It would be possible to check for ! not followed by a space.