Re: Bond Cash flow dates

Posted by sumanta on
URL: http://quantlib.414.s1.nabble.com/Yc-Issue-in-Ql-tp14172p14179.html

Hello,

You were right. I passed some wrong parameters due to which the yc was not formed properly. I have fixed it and now it is working fine. Thanks for the help.

However, there is one more issue. I asked one of my college to do some negetive testing on my implementation. What he did was to give some sharp jumps to the input points.  This caused a crashed in the YC. I agree that the sharp jumps that he gave was no logical. How can you suggest why the yc crashed? And is it the responsibility of the user to check the validity of the input points before passing it for yc construction.