|
From: javit <ca...@vi...> - 2009-11-12 16:50:44
|
I believe you would agree that developers shouldn't rewrite/debug their codes
for every new release. Instead of replacing the last variable in
HestonModelHelper and changing it to
HestonModelHelper(const Period& maturity,
const Calendar& calendar,
const Real s0,
const Real strikePrice,
const Handle& volatility,
const Handle<YieldTermStructure>& riskFreeRate,
const Handle<YieldTermStructure>& dividendYield,
CalibrationHelper::CalibrationErrorType errorType
=
CalibrationHelper::RelativePriceError);
The last variable might very well be added rather than being a replacement.
If it were an additional optional variable, then old codes utilizing
quantlib may work without adjustments. From your message, I understood that
backwards compatibility is not fully-respected by newer quantlib releases.
Actually, this is not something new, I observed similar incompabilities in
quantlibxl. Maybe, I shouldn't have complained about it now.
Thank you,
Javit
Luigi Ballabio wrote:
>
> On Tue, 2009-11-10 at 14:02 -0800, javit wrote:
>> I'm currently using 9.7. HestonModelHelper is not working due to code
>> change.
>>
>> Erase the last variable in your HestonModelHelper and it works fine.
>
> I'm confused. Of course code written for 0.9.7 won't work with the
> latest tarballs. May you elaborate?
>
> Luigi
>
>
> --
>
> Hofstadter's Law:
> It always takes longer than you expect, even when you take
> Hofstadter's Law into account.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
-----
Cavit (Javit) Hafizoglu
mailto:jav...@su... mailto:jav...@su...
--
View this message in context: http://old.nabble.com/Prerelease-tarballs-tp26027318p26322172.html
Sent from the quantlib-dev mailing list archive at Nabble.com.
|