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



_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to