Re: CDS example

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/CDS-example-tp11892p11894.html

On Wed, 2008-05-14 at 00:24 +0200, [hidden email] wrote:
> True, in this case one instrument should be enough for *any* interpolation since
> we should have an extra point for todays date but no instrument associated with
> it.

True. Since we have an additional point for today's date (and since this
also holds for all other bootstrapped curves) I changed the check in
IterativeBootstrap so that it requires a number of instruments equal to
the number of required points minus one. The cases that used to work
should be unaffected (since they passed the stricter condition already)
and indeed, the existing test cases still pass.

Thanks for the report.

Luigi


--

Westheimer's Discovery:
A couple of months in the laboratory can frequently save a
couple of hours in the library.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev