This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]