Login  Register

[ quantlib-Bugs-1963642 ] Possible redundancy with stubDate_ in MakeSchedule

Posted by SourceForge.net on May 14, 2008; 7:59am
URL: http://quantlib.414.s1.nabble.com/quantlib-Bugs-1963642-Possible-redundancy-with-stubDate-in-MakeSchedule-tp11900.html

Bugs item #1963642, was opened at 2008-05-14 00:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1963642&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible redundancy with stubDate_ in MakeSchedule

Initial Comment:
The member variable stubDate_ of MakeSchedule is set to default Date in the constructor, and none of the MakeSchedule methods modify it. Yet in the initial part of MakeSchedule operator::Schedule(), there is code that resets firstDate, nextToLastDate etc if stubDate_ is not equal to the default date. Given that stubDate_ is fixed at default Date, this code is never used. Is it possible that either a method "withStubDate" is required, or that stubDate_ needs to be reset in "withFirstDate" and "withNextToLastDate" methods?

[hidden email]

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

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

-------------------------------------------------------------------------
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