Skip to content

Commit

Permalink
Fix SwapRateHelper.forDates's withIndexedCoupons (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Nov 4, 2024
2 parents 592372f + d21a60c commit ea64f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SWIG/ratehelpers.i
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class SwapRateHelper : public RateHelper {
Pillar::Choice pillar = Pillar::LastRelevantDate,
Date customPillarDate = Date(),
bool endOfMonth = false,
const ext::optional<bool>& withIndexedCoupons = ext::nullopt) {
ext::optional<bool> withIndexedCoupons = ext::nullopt) {
return ext::make_shared<SwapRateHelper>(
rate, startDate, endDate, std::move(calendar), fixedFrequency,
fixedConvention, fixedDayCount, index, spread, discountingCurve,
Expand Down

0 comments on commit ea64f66

Please sign in to comment.