[Rivet] Beware of vector<Histo1DPtr>

Holger Schulz holger.schulz at durham.ac.uk
Mon Aug 11 17:50:09 BST 2014


On 11/08/14 17:00, Andy Buckley wrote:
> I think this problem is fixed with the trunk version of YODA (since
> Friday). The released versions of YODA should all have been unaffected.

Hi Andy,

thank you very much for looking into this. I can confirm that this issue
is solved.

Thanks again,
Holger


> Andy
>
>
> On 07/08/14 15:36, Holger Schulz wrote:
>> On 07/08/14 14:56, Holger Schulz wrote:
>>> This crash goes away when declaring
>>>
>>>      Histo1DPtr _h_dNch_dn[4];
>>>
>>> instead of
>>>          vector<Histo1DPtr>  _h_dNch_dn;
>> Sorry, that was too early, the error as described remains:
>>
>>      python: ../include/YODA/Utils/BinSearcher.h:219: size_t
>>      YODA::Utils::BinSearcher::index(double) const: Assertion `x>=
>>      _edges[index]&&  x<  _edges[index+1]' failed.
>>
>> So yeah, there seems to be something going wrong.
>>
>> Holger
>



More information about the Rivet mailing list