This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
documentation error
- From: Arin Chaudhuri <achaudh at unity dot ncsu dot edu>
- To: <gsl-discuss at sources dot redhat dot com>
- Date: Mon, 4 Feb 2002 04:07:56 -0500 (EST)
- Subject: documentation error
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.