bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] Error in documentation of "siman" package


From: Jean Gosset
Subject: [Bug-gsl] Error in documentation of "siman" package
Date: Wed, 23 Feb 2005 13:39:28 +0100

Hello,

I just noticed a bug in the documentation ("http://www.gnu.org/software/gsl/manual/gsl-ref_24.html#SEC378";) of the "siman" package of "gsl". It has to do with the specification of the "gsl_siman_copy_t" function.

Instead of

"This function type should copy the configuration <VAR>dest</VAR> into <VAR>source</VAR>."

it should read

"This function type should copy the configuration <VAR>source</VAR> into <VAR>dest</VAR>."

in order to be consistent, not only with the natural meaning of "source" and "dest", but also with the prototype given at the next line

"void (*gsl_siman_copy_t) (void *source, void *dest)"

and its use in the "gsl_siman_solve" function, where the order of the arguments is clearly reversed to the order of the arguments of the "memcpy" function.

Thanks in advance for correcting the documentation,
Jean Gosset
+------------------------------+---------------------------+
| Jean Gosset                  | Tél. (33/0) 1 69 08 73 05 |
| DAPNIA/SPhN, B703, P40       | Fax                 75 84 |
| CE de Saclay                 | Mél: address@hidden   |
| F 91191 Gif-sur-Yvette cedex |                           |
+------------------------------+---------------------------+





reply via email to

[Prev in Thread] Current Thread [Next in Thread]