You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// c) Additional validity checks for all tracks (in Run 3, 2 and 1), use only during debugging:
4304
4304
if (tc.fInsanityCheckForEachParticle) {
4305
4305
4306
-
// *) isnan() check (remember that 'nan' is 0./0., inf-inf, etc. However 'inf' itself is NOT a 'nan', therefore isnan(1./0.) is false, isnan(0./0.) is true, etc.):
4307
-
if (isnan(track.phi()) || isnan(track.pt()) || isnan(track.eta())) {
4306
+
// *) std::isnan() check (remember that 'nan' is 0./0., inf-inf, etc. However 'inf' itself is NOT a 'nan', therefore std::isnan(1./0.) is false, std::isnan(0./0.) is true, etc.):
4307
+
if (std::isnan(track.phi()) || std::isnan(track.pt()) || std::isnan(track.eta())) {
0 commit comments