Hello List,
the gsl_rng_type pointer T is not meant to be freed.
Running the below code with valgrind shows that all blocks are freed.
hth,
Jerome
On 18/08/10 17:11, Ruben Van Boxem wrote:
hi,
When and how should I free the gsl_rng_type pointer I use to create my rng?
Can I free it right after the call to
r = gsl_rng_alloc (T);
The example in the
documentation<http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Generator-Examples.html>does
not, so I wonder if gsl_rng_free doesn't do this.
Thanks!
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl