Skip to content

Commit

Permalink
Merge pull request #12677 from slava77/CMSSW_8_0_X_2015-11-30-1100/si…
Browse files Browse the repository at this point in the history
…gn644/ubsan11752-ecal

fix rare NaN in EcalUncalibratedRecHit
  • Loading branch information
cmsbuild committed Dec 8, 2015
2 parents 215912e + 997b76c commit 1a5e3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/EcalRecHit/src/EcalUncalibratedRecHit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void EcalUncalibratedRecHit::setJitterError( float jitterErr )
// has range of 5 ps - 5000 ps
// expect input in BX units
// all bits off --> time reco bailed out
if(jitterErr < 0)
if(jitterErr <= 0)
{
aux_ = (~0xFF & aux_);
return;
Expand Down

0 comments on commit 1a5e3dd

Please sign in to comment.