On Wed, 2008-04-23 at 13:16 +0200, Fabio Ramponi wrote:
> My aim is to create a schedule with MakeSchedule, then use the method
> MakeSchedule::withNextToLastDate() to set the private member
> nextToLastDate_ and recalculate the Schedule with the
> MakeSchedule::Schedule() operator.
>
> Now, the problem is that the operator Schedule() updates the
> nextToLastDate and firstDate fields in the new Schedule if and only
> if
> stubDate_ != Date()
Yes, that's a bug---sorry about this. It's been fixed for next release.
In the meantime, you can patch operator Schedule() to use firstDate_ and
nextToLastDate_ if stubDate_ == Date().
Luigi
--
There is no such thing as public opinion. There is only published
opinion.
-- Winston Churchill
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users