We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c493cf9 commit bb3124bCopy full SHA for bb3124b
1 file changed
ql/cashflows/fixedratecoupon.cpp
@@ -179,7 +179,7 @@ namespace QuantLib {
179
180
QL_REQUIRE(!couponRates_.empty(), "no coupon rates given");
181
QL_REQUIRE(!notionals_.empty(), "no notional given");
182
- QL_REQUIRE(paymentDates_.empty() || paymentDates.size() == schedule_.size() - 1,
+ QL_REQUIRE(paymentDates_.empty() || paymentDates_.size() == schedule_.size() - 1,
183
"Expected the number of explicit payment dates ("
184
<< paymentDates_.size() << ") to equal the number of calculation periods ("
185
<< schedule_.size() - 1 << ")");
0 commit comments