|
Boost Users : |
Subject: Re: [Boost-users] [accumulators] density: empty values
From: Eric Niebler (eric_at_[hidden])
Date: 2009-05-15 13:39:59
Eric Niebler wrote:
> Robert Kubrick wrote:
>> I have the following program:
>>
> <snip>
>>
>> Bin values and indexes don't seem to be initialized:
>>
>> $ acc_dist Bin lower bound: 0, Value: 0
>> Bin lower bound: 0, Value: 0
>> Bin lower bound: 0, Value: 0
>> Bin lower bound: 0, Value: 0
>> Bin lower bound: 0, Value: 0
>> Bin lower bound: 0, Value: 0
>
> I'm afraid I don't have time to investigate this right now. Please file
> a bug at https://svn.boost.org/trac/boost/ and be sure to state what you
> think the expected results should be. Thanks.
Addendum: if the number of samples is at least as great as the cache
size, then it seems to work. I didn't actually write the density
accumulator, so I'll need to check with the author to see if that's a
precondition, or if there's some way we can return meaningful results
with fewer samples. Matthias?
Still, a bug report would be good.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
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