|
[Rivet] BUG: Particle::abspid() returns negative valuesAndy Buckley andy.buckley at cern.chFri May 23 20:20:27 BST 2014
Sorry David, We had this one pointed out a couple of weeks ago... currently planning to have a patch release out next week: it would have been earlier but we got supplied with a bunch of new analyses at the same time! Thanks for the report... d'oh. Andy On 23/05/14 19:29, David Bjergaard wrote: > 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 > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > -- Dr Andy Buckley, Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow / PH Dept, CERN
More information about the Rivet mailing list |