Skip to content

Commit 3b4d5c3

Browse files
committed
use paymentAdjustment in the fixed leg
1 parent 4567efa commit 3b4d5c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/instruments/overnightindexedswap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ namespace QuantLib {
144144
bool applyObservationShift)
145145
: FixedVsFloatingSwap(type, std::move(fixedNominals), std::move(fixedSchedule), fixedRate, std::move(fixedDC),
146146
overnightNominals, std::move(overnightSchedule), overnightIndex,
147-
spread, DayCounter(), ext::nullopt, paymentLag, paymentCalendar),
147+
spread, DayCounter(), paymentAdjustment, paymentLag, paymentCalendar),
148148
overnightIndex_(overnightIndex),
149149
paymentLag_(paymentLag), paymentCalendar_(paymentCalendar),
150150
telescopicValueDates_(telescopicValueDates),

0 commit comments

Comments
 (0)