We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b1cac commit 43b48bbCopy full SHA for 43b48bb
1 file changed
ql/cashflows/couponpricer.cpp
@@ -62,7 +62,7 @@ namespace QuantLib {
62
if (useIndexedCoupon_) {
63
coupon.fixingEndDate_ = coupon.fixingMaturityDate_;
64
} else {
65
- if (coupon.isInArrears_)
+ if (coupon.isInArrears_ || coupon.fixingDays_ == Null<Size>())
66
67
else { // par coupon approximation
68
Date nextFixingDate = coupon.iborIndex()->fixingCalendar().advance(
0 commit comments