Mark Dickinson added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to