[Rivet] Beware of vector<Histo1DPtr>

Holger Schulz hschulz at physik.hu-berlin.de
Thu Aug 7 15:36:18 BST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140807/52b446a1/attachment.html>


More information about the Rivet mailing list