Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions SWIG/ratehelpers_ext.i
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ class ShiborSwapRateHelper: public RateHelper {
const Handle<Quote>& rate,
const Period& swapTenor,
Frequency fixedFreq,
const boost::shared_ptr<Shibor>& shiborIndex,
const ext::shared_ptr<Shibor>& shiborIndex,
const Period& fwdStart = 0*Days,
const Handle<YieldTermStructure>& discountingCurve
= Handle<YieldTermStructure>());

boost::shared_ptr<ShiborSwap> swap();
ext::shared_ptr<ShiborSwap> swap();
};

%shared_ptr(SubPeriodsSwapRateHelper)
Expand All @@ -53,7 +53,7 @@ class SubPeriodsSwapRateHelper: public RateHelper {
SubPeriodsSwapRateHelper(const Handle<Quote>& rate, const Period& swapTenor, Frequency fixedFreq,
const Calendar& fixedCalendar, const DayCounter& fixedDayCount,
BusinessDayConvention fixedConvention, const Period& floatPayTenor,
const boost::shared_ptr<IborIndex>& iborIndex, const DayCounter& floatingDayCount,
const ext::shared_ptr<IborIndex>& iborIndex, const DayCounter& floatingDayCount,
DateGeneration::Rule rule = DateGeneration::Backward,
QuantLib::Ext::SubPeriodsCoupon::Type type = QuantLib::Ext::SubPeriodsCoupon::Compounding,
const Period& fwdStart = 0 * Days,
Expand Down
4 changes: 2 additions & 2 deletions SWIG/swap_ext.i
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ShiborSwap : public VanillaSwap {
const Period& swapTenor,
const Period& fixedTenor,
Rate fixedRate,
const boost::shared_ptr<Shibor>& index);
const ext::shared_ptr<Shibor>& index);
};

%shared_ptr(SubPeriodsSwap)
Expand All @@ -56,7 +56,7 @@ class SubPeriodsSwap: public Swap {
SubPeriodsSwap(const Date& effectiveDate, Real nominal, const Period& swapTenor, bool isPayer,
const Period& fixedTenor, Rate fixedRate, const Calendar& fixedCalendar,
const DayCounter& fixedDayCount, BusinessDayConvention fixedConvention, const Period& floatPayTenor,
const boost::shared_ptr<IborIndex>& iborIndex, const DayCounter& floatingDayCount,
const ext::shared_ptr<IborIndex>& iborIndex, const DayCounter& floatingDayCount,
DateGeneration::Rule rule = DateGeneration::Backward);
};

Expand Down