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: gsl 1.0 bug?


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)


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