Skip to content

Commit

Permalink
Merge pull request #46279 from iarspider/iarspider-patches-20241007-2
Browse files Browse the repository at this point in the history
[LLVM Analyzer][ML] Remove dead assignment in PhysicsTools/MVAComputer/src/Spline.cc
  • Loading branch information
cmsbuild authored Oct 9, 2024
2 parents 45e883d + 922c100 commit caeb31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/MVAComputer/src/Spline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ namespace PhysicsTools {

float m0, m1;
Segment *seg = &segments[0];
m0 = 0.0, m1 = 0.5 * (vals[2] - vals[0]);
m1 = 0.5 * (vals[2] - vals[0]);
seg->coeffs[0] = vals[0];
seg->coeffs[1] = -2.0 * vals[0] + 2.0 * vals[1] - m1;
seg->coeffs[2] = vals[0] - vals[1] + m1;
Expand Down

0 comments on commit caeb31e

Please sign in to comment.