Message147149
| Author | mark.dickinson |
|---|---|
| Recipients | mark.dickinson, mark108 |
| Date | 2011-11-06.11:09:21 |
| SpamBayes Score | 1.3146334e-08 |
| Marked as misclassified | No |
| Message-id | <1320577761.98.0.022543639088.issue13355@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I can't reproduce this: Python 2.7.2 |EPD 7.1-2 (32-bit)| (default, Jul 3 2011, 15:40:35) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "packages", "demo" or "enthought" for more information. >>> from random import triangular >>> triangular(low=1, high=2, mode=1) # low == mode 1.185344240827765 Note that the order of the parameters to random.triangular is (low, high, mode). I suspect that you're actually passing identical values for `low` and `high`, and that's what's causing the error. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-11-06 11:09:22 | mark.dickinson | set | recipients: + mark.dickinson, mark108 |
| 2011-11-06 11:09:21 | mark.dickinson | set | messageid: <1320577761.98.0.022543639088.issue13355@psf.upfronthosting.co.za> |
| 2011-11-06 11:09:21 | mark.dickinson | link | issue13355 messages |
| 2011-11-06 11:09:21 | mark.dickinson | create | |