|
From: SourceForge.net <no...@so...> - 2013-01-07 15:16:26
|
Bugs item #3599805, was opened at 2013-01-07 07:16 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3599805&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: Sergey Khorev () Assigned to: Nobody/Anonymous (nobody) Summary: Schedule::until works incorrectly with non-full schedules Initial Comment: Schedule::until calls result.isRegular_.pop_back() that produces unspecified behaviour when isRegular_ is empty. Particularly, it is empty for schedules created with Schedule::Schedule(const std::vector<Date>& dates, const Calendar& calendar, BusinessDayConvention convention)). I suggest you either restrict the method to complete interfaces or do pop_back only for complete interfaces. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3599805&group_id=12740 |