This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl 1.0 bug?
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Alberto Manuel Brandão Simões <albie at alfarrabio dot di dot uminho dot pt>
- Cc: GSL Mailing list <gsl-discuss at sources dot redhat dot com>
- Date: Mon, 22 Apr 2002 19:27:31 +0100 (BST)
- Subject: Re: gsl 1.0 bug?
- References: <1019461438.32326.23.camel@scriptorium>
Alberto Manuel Brandão Simões writes:
>
> Hi!
>
> On Quasi-random number generation, documentation talks about
> 'gsl_qrng_init'. Header file contains the prototype. Library file does
> not contain that function.
>
> Now, is the header file and documentation wrong, or is the library?
>
Thanks for the bug report, the function definition was missing from
the library.
regards
Brian Gough
Index: qrng.c
===================================================================
RCS file: /cvs/gsl/gsl/qrng/qrng.c,v
retrieving revision 1.7
diff -c -r1.7 qrng.c
*** qrng.c 19 Nov 2001 22:32:08 -0000 1.7
--- qrng.c 22 Apr 2002 18:27:14 -0000
***************
*** 37,42 ****
--- 37,47 ----
return r;
}
+ void
+ gsl_qrng_init (gsl_qrng * r)
+ {
+ (r->type->init_state) (r->state, r->dimension);
+ }
int
gsl_qrng_memcpy (gsl_qrng * dest, const gsl_qrng * src)