This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, rhettinger, serhiy.storchaka
Date 2013-02-10.16:35:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360514129.71.0.233732057653.issue17141@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think the second added test_avg_std test makes sense, given that the number of random samples used by vonmisesvariate is unpredictable.  The variance in the second case should be close to 1/100.0 rather than 1/sqrt(2)/100.0, right?  If this code stays, there should at least be a comment explaining where the extra sqrt(2) comes from.

Apart from that, this patch looks good to me.
History
Date User Action Args
2013-02-10 16:35:29mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, serhiy.storchaka
2013-02-10 16:35:29mark.dickinsonsetmessageid: <1360514129.71.0.233732057653.issue17141@psf.upfronthosting.co.za>
2013-02-10 16:35:29mark.dickinsonlinkissue17141 messages
2013-02-10 16:35:29mark.dickinsoncreate