14 May 14:33
[ 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 12:36:39 GMT
Subject: [ quantlib-Bugs-1963642 ] Possible redundancy with stubDate_ in MakeSchedule
Newsgroups: gmane.comp.finance.quantlib.devel
Date: 2008-05-14 12:36:39 GMT
Bugs item #1963642, was opened at 2008-05-14 09:59 Message generated for change (Comment added) made by lballabio 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: Closed >Resolution: Fixed 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 ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 2008-05-14 14:36 Message: Logged In: YES user_id=75450 Originator: NO The bug is now fixed in the Subversion repository. Thank you for the report. ---------------------------------------------------------------------- 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/
RSS Feed