[gnumeric] Docs: fix typo in the right place.



commit 1b224fa931f7a0903f21db3dda59e02724be1927
Author: Morten Welinder <terra gnome org>
Date:   Fri Sep 7 08:05:43 2012 -0400

    Docs: fix typo in the right place.

 doc/C/func.defs                  |    4 ++--
 doc/C/functions.xml              |    4 ++--
 plugins/fn-derivatives/options.c |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/doc/C/func.defs b/doc/C/func.defs
index a4a31d7..d584484 100644
--- a/doc/C/func.defs
+++ b/doc/C/func.defs
@@ -1843,7 +1843,7 @@ The depreciation coefficient used is:
 @SHORTDESC=theoretical price of an American option to exchange assets
 @SYNTAX=OPT_AMER_EXCHANGE(spot1,spot2,qty1,qty2,time,rate,cost_of_carry1,cost_of_carry2,volatility1,volatility2,rho)
 @ARGUMENTDESCRIPTION= {spot1}: spot price of asset 1
- {spot2}: spot price of asset 1
+ {spot2}: spot price of asset 2
 @{qty1}: quantity of asset 1
 @{qty2}: quantity of asset 2
 @{time}: time to maturity in years
@@ -2021,7 +2021,7 @@ The depreciation coefficient used is:
 @SHORTDESC=theoretical price of a European option to exchange assets
 @SYNTAX=OPT_EURO_EXCHANGE(spot1,spot2,qty1,qty2,time,rate,cost_of_carry1,cost_of_carry2,volatility1,volatility2,rho)
 @ARGUMENTDESCRIPTION= {spot1}: spot price of asset 1
- {spot2}: spot price of asset 1
+ {spot2}: spot price of asset 2
 @{qty1}: quantity of asset 1
 @{qty2}: quantity of asset 2
 @{time}: time to maturity in years
diff --git a/doc/C/functions.xml b/doc/C/functions.xml
index cc7d35c..9d430fa 100644
--- a/doc/C/functions.xml
+++ b/doc/C/functions.xml
@@ -6214,7 +6214,7 @@
       <refsect1>
         <title>Arguments</title>
         <para><parameter>spot1</parameter>: spot price of asset 1</para>
-        <para><parameter>spot2</parameter>: spot price of asset 1</para>
+        <para><parameter>spot2</parameter>: spot price of asset 2</para>
         <para><parameter>qty1</parameter>: quantity of asset 1</para>
         <para><parameter>qty2</parameter>: quantity of asset 2</para>
         <para><parameter>time</parameter>: time to maturity in years</para>
@@ -6729,7 +6729,7 @@
       <refsect1>
         <title>Arguments</title>
         <para><parameter>spot1</parameter>: spot price of asset 1</para>
-        <para><parameter>spot2</parameter>: spot price of asset 1</para>
+        <para><parameter>spot2</parameter>: spot price of asset 2</para>
         <para><parameter>qty1</parameter>: quantity of asset 1</para>
         <para><parameter>qty2</parameter>: quantity of asset 2</para>
         <para><parameter>time</parameter>: time to maturity in years</para>
diff --git a/plugins/fn-derivatives/options.c b/plugins/fn-derivatives/options.c
index 79e0ec0..675415f 100644
--- a/plugins/fn-derivatives/options.c
+++ b/plugins/fn-derivatives/options.c
@@ -1664,7 +1664,7 @@ opt_euro_exchange(GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 static GnmFuncHelp const help_opt_euro_exchange[] = {
 	{ GNM_FUNC_HELP_NAME, F_("OPT_EURO_EXCHANGE:theoretical price of a European option to exchange assets")},
 	{ GNM_FUNC_HELP_ARG, F_("spot1:spot price of asset 1")},
-        { GNM_FUNC_HELP_ARG, F_("spot2:spot price of asset 1")},
+        { GNM_FUNC_HELP_ARG, F_("spot2:spot price of asset 2")},
 	{ GNM_FUNC_HELP_ARG, F_("qty1:quantity of asset 1")},
 	{ GNM_FUNC_HELP_ARG, F_("qty2:quantity of asset 2")},
 	DEF_ARG_TIME_MATURITY_Y,
@@ -1708,7 +1708,7 @@ opt_amer_exchange(GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 static GnmFuncHelp const help_opt_amer_exchange[] = {
 	{ GNM_FUNC_HELP_NAME, F_("OPT_AMER_EXCHANGE:theoretical price of an American option to exchange assets")},
 	{ GNM_FUNC_HELP_ARG, F_("spot1:spot price of asset 1")},
-        { GNM_FUNC_HELP_ARG, F_("spot2:spot price of asset 1")},
+        { GNM_FUNC_HELP_ARG, F_("spot2:spot price of asset 2")},
 	{ GNM_FUNC_HELP_ARG, F_("qty1:quantity of asset 1")},
 	{ GNM_FUNC_HELP_ARG, F_("qty2:quantity of asset 2")},
 	DEF_ARG_TIME_MATURITY_Y,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]