Skip to content

Commit 0d3092b

Browse files
committed
QPR-11115 fix
1 parent 1983bdc commit 0d3092b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/instruments/creditdefaultswap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ namespace QuantLib {
251251
}
252252

253253
void CreditDefaultSwap::performCalculations() const {
254-
Instrument::performCalculations();
255254
// Deal with the accrual rebate. We use the standard conventions for accrual calculation introduced with the
256255
// CDS Big Bang in 2009
257256
if (rebatesAccrual_ && postBigBang_) {
@@ -265,6 +264,7 @@ namespace QuantLib {
265264
schedule_.calendar().advance(current, cashSettlementDays_, Days,
266265
paymentConvention_));
267266
}
267+
Instrument::performCalculations();
268268
}
269269

270270
Protection::Side CreditDefaultSwap::side() const {

0 commit comments

Comments
 (0)