Hybrid Heston Hull White test

Posted by igitur on
URL: http://quantlib.414.s1.nabble.com/Hybrid-Heston-Hull-White-test-tp17465.html

Hi,

I'm looking at https://github.com/lballabio/QuantLib/blob/master/test-suite/hybridhestonhullwhiteprocess.cpp#L708

I'm trying to understand the purpose of that line. Just before that (line 703) the transform() function populates the times variable with year fractions from the input schedule. Then line 708 just sets the times equal to the indexes of the vector. I'm unsure whether this is intended or a bug, but currently the test passes.

thanks
Francois Botha

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev