This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: documentation error
- From: Achim Gaedke <Achim dot Gaedke at uni-koeln dot de>
- To: Arin Chaudhuri <achaudh at unity dot ncsu dot edu>, gsl discussion list <gsl-discuss at sources dot redhat dot com>
- Date: Mon, 04 Feb 2002 10:21:35 +0100
- Subject: Re: documentation error
- References: <Pine.GSO.4.33.0202040345550.3795-100000@stat00du.stat.ncsu.edu>
Oh no, it's great to know that people are reading the reference. Many others are
deterred by not working examples - and even little mistakes. Just many eyes make
free and open software strong and bug-free (in asymptotical convergence).
Arin Chaudhuri schrieb:
>
> In the example in
> http://sources.redhat.com/gsl/ref/gsl-ref_20.html#SEC338
> 1) the line
> gsl_histogram2d * h = gsl_histogram2d_alloc (10, 10)
> does not end in a ;
> 2)in the following line
> gsl_histogram2d_pdf * p = gsl_histogram2d_pdf_alloc (h->n);
> h is a pointer to gsl_histogram2d , and gsl_histogram2d doesnt have a
> member n
> and also gsl_histogram2d_pdf_alloc takes in two arguments not one.