[issue13355] random.triangular error when low = mode

Mark report at bugs.python.org
Sun Nov 6 11:56:56 CET 2011


New submission from Mark <mhughes108 at gmail.com>:

When low and mode are the same in random.triangular it gives the following error:


<type 'exceptions.ZeroDivisionError'>: float division
      args = ('float division',)
      message = 'float division' 


When high and mode are the same there is no problem.

----------
components: Extension Modules
messages: 147148
nosy: mark108
priority: normal
severity: normal
status: open
title: random.triangular error when low = mode
versions: Python 2.6

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


More information about the Python-bugs-list mailing list