Skip to content

Commit 105d651

Browse files
amend defaults to work with QuantLib-SWIG
1 parent 6b5de09 commit 105d651

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)