The reason is that the current implementation of the LogLinear
interpolator can not do the integral of the function being interpolated
(the "primitive" function).
The Discount curve builder does not require this function, so it works
fine. The ForwardRate rate does require the "primitive" function so it
fails. If you switch to linear interpolation it will however work, i.e.:
PiecewiseYieldCurve<ForwardRate,Linear>
depoFutSwapTermStructure(settlementDate,
depoFutSwapInstruments,
termStructureDayCounter,
tolerance);
Best,
Bojan
--
Bojan Nikolic ||
http://www.bnikolic.co.uk------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users