Skip to content

Commit

Permalink
Fixed C-style cast. (cms-sw#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcano committed May 26, 2021
1 parent 7222e8a commit c52e732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CUDADataFormats/Track/interface/TrajectoryStateSoAT.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ struct TrajectoryStateSoAT {
auto cov = covariance(i);
cov(0) = ccov(0, 0);
cov(1) = ccov(0, 1);
cov(2) = b * float(ccov(0, 2));
cov(2) = b * static_cast<float>(ccov(0, 2));
cov(4) = cov(3) = 0;
cov(5) = ccov(1, 1);
cov(6) = b * float(ccov(1, 2));
cov(6) = b * static_cast<float>(ccov(1, 2));
cov(8) = cov(7) = 0;
cov(9) = b * b * float(ccov(2, 2));
cov(9) = b * b * static_cast<float>(ccov(2, 2));
cov(11) = cov(10) = 0;
cov(12) = lcov(0, 0);
cov(13) = lcov(0, 1);
Expand Down

0 comments on commit c52e732

Please sign in to comment.