Skip to content

Commit

Permalink
[LLVM Analyzer][ML] Remove dead assignment in PhysicsTools/MVACompute…
Browse files Browse the repository at this point in the history
…r/src/Spline.cc
  • Loading branch information
iarspider committed Oct 7, 2024
1 parent 09e5a91 commit 922c100
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 922c100

Please sign in to comment.