[Libreoffice-bugs] [Bug 129098] Two parameters incorrectly labelled on Calc Function Wizard for OPT_PROB_INMONEY function

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 29 14:51:07 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129098

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2412 at yahoo.fr
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Julien Nabet <serval2412 at yahoo.fr> ---
On Win10 with master sources updated today, I could reproduce this.

Taking a look at:
66         /// OPT_PROB_INMONEY(), probability of ending up in-the-money.
67         double getOptProbInMoney( [in] double spot, [in] double vol,
68             [in] double mu, [in] double maturity,
69             [in] double barrierLow, [in] double barrierUp,
70             [in] any strike, [in] any putCall )
71             raises( com::sun::star::lang::IllegalArgumentException );
https://opengrok.libreoffice.org/xref/core/scaddins/idl/com/sun/star/sheet/addin/XPricingFunctions.idl?r=8d0dbbda#66

200     virtual double SAL_CALL getOptProbInMoney( double spot, double vol,
201              double mu, double T,
202              double barrier_low, double barrier_up,
203              const css::uno::Any& strikeval, const css::uno::Any& put_call
) override;
https://opengrok.libreoffice.org/xref/core/scaddins/source/pricing/pricing.hxx?r=c4ab5781#200

There's indeed a mix between the 2 last args in the UI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191129/0a497401/attachment.html>


More information about the Libreoffice-bugs mailing list