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]

Re: documentation error


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.


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