|
[Rivet-svn] rivet: Fix awful typo!Rivet Mercurial rivet at projects.hepforge.orgThu Dec 17 21:45:01 GMT 2015
details: https://rivet.hepforge.org/hg/rivet/rev/b25458461bfb branches: release-2-4-x changeset: 4963:b25458461bfb user: Andy Buckley <andy at insectnation.org> date: Thu Dec 17 21:40:37 2015 +0000 description: Fix awful typo! diffs (20 lines): --- a/include/Rivet/Particle.hh Thu Dec 17 21:26:30 2015 +0000 +++ b/include/Rivet/Particle.hh Thu Dec 17 21:40:37 2015 +0000 @@ -20,7 +20,7 @@ /// @note A particle without info is useless. This only exists to keep STL containers happy. Particle() : ParticleBase(), - _original(0), _id(0), _momentum() + _original(0), _id(0) { } /// Constructor without GenParticle. @@ -102,7 +102,7 @@ } /// Set the origin position via components. Particle& setOrigin(double t, double x, double y, double z) { - _momentum = FourMomentum(t, x, y, z); + _origin = FourMomentum(t, x, y, z); return *this; }
More information about the Rivet-svn mailing list |