$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2003-07-14 15:08:11
matts_temp_id wrote:
> > I presume that you sometimes call random with min = max ?
>
> Well, that's not my intention, but I can't assert that it didn't
> happen in this case - there are some data-dependent invocations of the
> random number generator.
The current code does not handle the case min == max.
There have been other people who requested that this should work
and do the obvious thing (i.e. always return min).
I've checked in to the current CVS a fix that allows min == max
for uniform_int.
Jens Maurer