[ quantlib-Bugs-2824902 ] Dynamics of twofactor modell

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Bugs-2824902 ] Dynamics of twofactor modell

SourceForge.net
Bugs item #2824902, was opened at 2009-07-21 19:03
Message generated for change (Comment added) made by sk-77
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2824902&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: sk77 (sk-77)
Assigned to: Nobody/Anonymous (nobody)
Summary: Dynamics of twofactor modell

Initial Comment:
The method process() in the class TwoFactorModel::ShortRateDynamics fails (if accessed from a G2 model). This causes problems in Monte-Carlo-like applications.

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

>Comment By: sk77 (sk-77)
Date: 2009-07-21 19:26

Message:
My solution is to modify the line 55 as follows:

std::vector<boost:shared_ptr<StochasticProcess1D> > processes(2);

Seems to work.

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

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

------------------------------------------------------------------------------
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev