SWIG updated and problem with InArrearIndexedCouponVector

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SWIG updated and problem with InArrearIndexedCouponVector

Joseph Wang-2
I've synced up QuantLib-SWIG to the latest changes in QuantLib, but there is a
problem with InArrearIndexedCouponVector which I've commented out for now.

The problem is that InArrearIndexedCouponVector tries to use

    return QuantLib::IndexedCouponVector<InArrearIndexedCoupon>(
                                                  schedule,paymentAdjustment,
                                                  nominals,fixingDays,libor,
                                                  gearings,spreads,dayCount,
                                                  isInArrears);

The trouble with that is the IndexedCouponVector expects the coupon to have an
isInArrears parameter which InArrearIndexedCoupon doesn't have.

--
-------------------------------------------------------------------------------
Joseph Wang Ph.D. - [hidden email]  
China Derivatives Researcher and Software Developer - QuantLib
http://en.wikiversity.org/wiki/User:Roadrunner