Skip to content

Commit bb3124b

Browse files
committed
QPR-11232 fix
1 parent c493cf9 commit bb3124b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/cashflows/fixedratecoupon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ namespace QuantLib {
179179

180180
QL_REQUIRE(!couponRates_.empty(), "no coupon rates given");
181181
QL_REQUIRE(!notionals_.empty(), "no notional given");
182-
QL_REQUIRE(paymentDates_.empty() || paymentDates.size() == schedule_.size() - 1,
182+
QL_REQUIRE(paymentDates_.empty() || paymentDates_.size() == schedule_.size() - 1,
183183
"Expected the number of explicit payment dates ("
184184
<< paymentDates_.size() << ") to equal the number of calculation periods ("
185185
<< schedule_.size() - 1 << ")");

0 commit comments

Comments
 (0)