[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Error in The statistical Documentation Part
From: |
Brian Gough |
Subject: |
Re: [Bug-gsl] Error in The statistical Documentation Part |
Date: |
Thu, 29 Apr 2010 11:11:21 -0400 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO) |
At Thu, 29 Apr 2010 12:41:55 +0200,
Gabriele Colosimo wrote:
> The on-line (HTML) documentation says:
> "The program should produce the following output,
>
> * The estimated variance is 4.2984*
> "
> While the effective output returned is:
> "
> *The estimated variance is 5.373*
> "
> Which is in fact the correct result!
> So the library works, but the documentation appears to have a little bug.
> Thank you for the attention.
Hello,
Thank you for the correction, I've updated the documentation
accordingly.
> Sorry this is again me (Gabriele Colosimo)
> In the documentation relative to the program I mentioned in my previous mail
> there is another little bug.
> When declaring the include files necessary to run the example programs the
> Documentation says:
>
> "
> #include <stdio.h>
> #include <gsl/gsl_statistics.h>
> "
>
> While the correct files should be:
>
> #include <stdio.h>
> #include <gsl/gsl_statistics_double.h>
In this case gsl_statistics.h automatically includes the headers for
all the types (float, double, int, etc) so both forms will work.
--
Brian Gough