Ticket #301: polvector.patch
File polvector.patch, 586 bytes (added by , 10 years ago) |
---|
-
METOOLS/Main/Polarization_Tools.C
26 26 Polarization_Vector::Polarization_Vector(Vec4D p, double m2, bool anti, 27 27 bool out) : std::vector<Vec4C>() 28 28 { 29 if(!IsZero( p.Abs2()-m2, 1e-6)) {29 if(!IsZero((p.Abs2()-m2)/(fabs(p[0])+fabs(m2)), 1e-6)) { 30 30 PRINT_INFO("Undefined for p.Abs2()="<<p.Abs2()<<" and m2="<<m2); 31 abort();32 31 } 33 32 Init(p); 34 33 }