[SciPy-Dev] Edge case bug in stats.triang?

Andrew Nelson andyfaff at gmail.com
Mon Apr 4 23:35:28 EDT 2016


I've been investigating the stats.triang.pdf over it's domain with
different modes:

>>> from scipy.stats import triang
>>> triang.pdf(0, 0)
2.0
>>> triang.pdf(1, 1)
nan

Shouldn't the last value be 2?

-- 
_____________________________________
Dr. Andrew Nelson


_____________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20160405/b3913014/attachment.html>


More information about the SciPy-Dev mailing list