14 May 09:55
[ quantlib-Bugs-1963642 ] Possible redundancy with stubDate_ in MakeSchedule
From: SourceForge.net <noreply <at> sourceforge.net>
Subject: [ quantlib-Bugs-1963642 ] Possible redundancy with stubDate_ in MakeSchedule
Newsgroups: gmane.comp.finance.quantlib.devel
Date: 2008-05-14 07:59:51 GMT
Subject: [ quantlib-Bugs-1963642 ] Possible redundancy with stubDate_ in MakeSchedule
Newsgroups: gmane.comp.finance.quantlib.devel
Date: 2008-05-14 07:59:51 GMT
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? ohkang.kwon <at> gmail.com ----------------------------------------------------------------------(Continue reading)
RSS Feed