Fork me on GitHub

Opened 6 years ago

Closed 6 years ago

Last modified 10 months ago

#346 closed Bug (fixed)

A correction in a comment

Reported by: misho Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Sorry for a stupid ticket, but for an improvement.

Best,
Sho

  • modules/ParticlePropagator.cc

    old new  
    139139
    140140    if(TMath::Abs(q) < 1.0E-9 || TMath::Abs(fBz) < 1.0E-9)
    141141    {
    142       // solve pt2*t^2 + 2*(px*x + py*y)*t + (fRadius2 - x*x - y*y) = 0
     142      // solve pt2*t^2 + 2*(px*x + py*y)*t - (fRadius2 - x*x - y*y) = 0
    143143      tmp = px*y - py*x;
    144144      discr2 = pt2*fRadius2 - tmp*tmp;

Change History (3)

comment:1 Changed 6 years ago by pavel

Indeed.

I've already noticed it while answering another ticket (#327) but forgot to fix it.

The fixed version is now in the git repository and it will be available in the next release.

Thanks for finding this problem and reminding me about it.

comment:2 Changed 6 years ago by misho

Oh, delphes now on Github! Great!!!
I didn't know. Thank you very much for the transition!

(but why don't you have no tags on the git tree?)

Last edited 6 years ago by misho (previous) (diff)

comment:3 Changed 6 years ago by misho

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.