[issue13355] random.triangular error when low = high=mode

Yuriy Senko report at bugs.python.org
Sun Apr 7 13:58:17 CEST 2013


Yuriy Senko added the comment:

Added validation of input data. Check whether low <= mode <= high. If low == high return low as a result.

----------
nosy: +Chaka_bum, asvetlov
Added file: http://bugs.python.org/file29709/issue_13355.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13355>
_______________________________________


More information about the Python-bugs-list mailing list