Skip to content

Commit

Permalink
Automated fixes by clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 18, 2024
1 parent cbec61e commit 026d12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ql/math/integrals/discreteintegrals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace QuantLib {
sum *= 2;

sum += f(a);
if((n&1) != 0u)
if((n&1) != 0U)
sum += 1.5*f(b)+2.5*f(b-d);
else
sum += f(b);
Expand Down

0 comments on commit 026d12d

Please sign in to comment.