Skip to content

Commit 6610ad1

Browse files
committed
Merge branch 'QPR-11512-2' into 'master'
amend CDS defaults to work with QuantLib-SWIG Closes QPR-11512 See merge request qs/quantlib!47
2 parents 9bb3460 + 105d651 commit 6610ad1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

ql/instruments/creditdefaultswap.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ namespace QuantLib {
108108
const Schedule& schedule,
109109
BusinessDayConvention paymentConvention,
110110
const DayCounter& dayCounter,
111-
bool settlesAccrual = true,
112-
bool paysAtDefaultTime = true,
111+
bool settlesAccrual,
112+
bool paysAtDefaultTime,
113113
const Date& protectionStart = Date(),
114114
const ext::shared_ptr<Claim>& =
115115
ext::shared_ptr<Claim>(),
@@ -163,8 +163,8 @@ namespace QuantLib {
163163
const Schedule& schedule,
164164
BusinessDayConvention paymentConvention,
165165
const DayCounter& dayCounter,
166-
bool settlesAccrual = true,
167-
bool paysAtDefaultTime = true,
166+
bool settlesAccrual,
167+
bool paysAtDefaultTime,
168168
const Date& protectionStart = Date(),
169169
const Date& upfrontDate = Date(),
170170
const ext::shared_ptr<Claim>& =
@@ -173,7 +173,7 @@ namespace QuantLib {
173173
bool rebatesAccrual = true,
174174
const Date& tradeDate = Date(),
175175
Natural cashSettlementDays = 3);
176-
//! \name Constructors
176+
//! \name Constructors
177177
//@{
178178
//! CDS quoted as running-spread only
179179
/*! @param side Whether the protection is bought or sold.

0 commit comments

Comments
 (0)