Boost logo

Boost Users :

Subject: Re: [Boost-users] [random] infinite loop in uniform_real_distribution
From: Jérémy Coulon (jeremy.coulon_at_[hidden])
Date: 2013-11-26 13:51:46


> On Mon, Nov 25, 2013 at 2:53 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
>> It's really quite easy.
>>
>> if ( max - min == infinity )
>> {
>> divisor = 2;
>> min /= divisor;
>> max /= divisor;
>> } else {
>> divisor = 1;
>> }
>>
>>
Thank you Steven for your solution.
I just searched on Boost Trac and found this 8 months old ticket:
https://svn.boost.org/trac/boost/ticket/8351

It looks like the same bug we are talking about even if it is not really
related to #6059.

Is there any chance to see it fixed in the next Boost release ?

Thank you both for your time.
Regards,
Jeremy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net