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] authored and lballabio committed Jun 25, 2024
1 parent 37c84ff commit 0dda963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-suite/overnightindexedcoupon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ BOOST_AUTO_TEST_CASE(testTelescopicFormulaWhenLookbackWithObservationShiftAndNoI
CHECK_OIS_COUPON_RESULT("coupon rate using telescopic formula", actualRate,
expectedRateTelescopicSeries, 1e-12);

auto& fixingDates = coupon15July->fixingDates();
auto& dts = coupon15July->dt();
const auto& fixingDates = coupon15July->fixingDates();
const auto& dts = coupon15July->dt();
Size n = fixingDates.size();

Rate expectedRateIterativeFormula = 1.0;
Expand Down

0 comments on commit 0dda963

Please sign in to comment.