[Rivet] BUG: Particle::abspid() returns negative values

David Bjergaard david.b at phy.duke.edu
Fri May 23 18:29:34 BST 2014


Hi,

Particle.hh:
00075     /// Absolute value of the PDG ID code.
00076     PdgId abspid() const { return _id; }
should read:
00075     /// Absolute value of the PDG ID code.
00076     PdgId abspid() const { return abs(_id); }

Not sure where to report bugs like this... let me know if there are
appropriate channels.  This one took a while to track down since the
documentation does not match the code :).

Cheers,

    Dave


More information about the Rivet mailing list