summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-14 14:21:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-14 14:21:37 +0000
commitd4b7dfacfa80cf9df9a2054f53aee59e8edc9bfc (patch)
tree8fb77d15ca727147fa96e610724afe240d94dbd6 /src/tutorial/advanced.source
parent8154f06301e94c431b78f108fba87c8a2fbed5a2 (diff)
The random selection in function linear() could deliver a value equal to max
if geqo_rand() returns exactly 1.0, resulting in failure due to indexing off the end of the pool array. Also, since this is using inexact float math, it seems wise to guard against roundoff error producing values slightly outside the expected range. Per report from bug@zedware.org.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions