Bugs item #1656248, was opened at 2007-02-09 08: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=1656248&group_id=12740Please 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: Error in cashflowvectors if a single cash flow exists
Initial Comment:
Version: 0.3.14
File: cashflowvectors.cpp
Error if a forward starting bond is created and the start date is Saturday and the maturity date is on the following Monday. SCHEDULE only create one cash flow date. Routines ends with an error on row with
Date start = schedule.date(0), end = schedule.date(1);
My Fix:
int indxend = (schedule.size() <= 1) ? 0 : 1;
Date start = schedule.date(0), end = schedule.date(indxend);
Best regards
Thomas Karlström
EMAIL:
[hidden email]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1656248&group_id=12740-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev