Skip to content

Commit

Permalink
Clang format for kappa rounding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OzAmram committed Apr 6, 2020
1 parent 733594c commit 933ab69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CondFormats/SiPixelTransient/src/SiPixelTemplate.cc
Expand Up @@ -4057,7 +4057,8 @@ void SiPixelTemplate::vavilov_pars(double& mpv, double& sigma, double& kappa)
// Copy to parameter list

//avoid rounding difference between floats and doubles causing issues later
if(kappavav_ == 0.01f) kappavav_ = 0.01f + 0.0000001f;
if (kappavav_ == 0.01f)
kappavav_ = 0.01f + 0.0000001f;

mpv = (double)mpvvav_;
sigma = (double)sigmavav_;
Expand Down

0 comments on commit 933ab69

Please sign in to comment.