|
From: Luigi B. <lui...@gm...> - 2012-11-26 15:39:55
|
Yes, you're correct. I'll fix it.
Luigi
On Mon, Nov 12, 2012 at 11:49 AM, Peter Caspers <pca...@gm...> wrote:
> Hi,
>
> in blackformula.cpp , blackFormulaStdDevDerivative(...) the limit case
> stdDev == 0.0 seems to be treated false, lines 307ff
>
> if (stdDev==0.0) {
> if (forward>strike)
> return discount * forward;
> else
> return 0.0;
> }
>
> should be
>
> if (stdDev==0.0) return 0.0;
>
> because \phi(x) -> 0 whenever |x| -> \infty, right ?
>
> Thanks
> Peter
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
|