[ quantlib-Bugs-3525797 ] OIS Coupon calculation

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

[ quantlib-Bugs-3525797 ] OIS Coupon calculation

SourceForge.net
Bugs item #3525797, was opened at 2012-05-11 03:31
Message generated for change (Comment added) made by lballabio
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3525797&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Andre Miemiec (miemiec)
>Assigned to: Luigi Ballabio (lballabio)
Summary: OIS Coupon calculation

Initial Comment:
I came across a tiny bug in the computation of overnight index coupons. In the file overnightindexcoupon.cpp the funtion swapletRate has a while slope
of type while( fixingDates[i]<today && i<n). When you try to compute the coupon on the payment date than the condition i<n is not satified but the access in fixingDates[i] is executed before. The program crahes.  

----------------------------------------------------------------------

Comment By: Luigi Ballabio (lballabio)
Date: 2012-05-14 03:18

Message:
The bug is now fixed in the Subversion repository.
Thank you for the report.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3525797&group_id=12740

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev