Luigi
The function G2::dynamics() is never called.
I just tryed to setup in the debugger running the BermudanSwaption example.
Or am I overlooking something?
Cheers,
Lars
Lars Schouw <[hidden email]> wrote:
Luigi
Thank your for a fast answer like always.
shortRate belonging to G2::Dynamics is never called.
I guess we can remove this code that is never used?
It also become clear that this is not needed when reading the Brigo Mercurio book chaper 4.2.
Regards
Lars Schouw
On 11/24/2005 05:15:55 AM, Lars Schouw wrote:
> I can't see where the method value() in the class G2::FittingParameter
> is called from. It must be called from somewhere!!
> This is in the header file g2.hpp
It is called inside G2::Dynamics::shortRate. The
fitting_ variable is a G2::FittingParameter. When fitting_(t) is called, operator() delegates to value().
Luigi
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
Relax. Yahoo! Mail
virus scanning helps detect nasty viruses!