[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] address@hidden
From: |
James Allsopp |
Subject: |
[Bug-gsl] address@hidden |
Date: |
Sun, 24 Sep 2006 14:23:55 +0100 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060904) |
Hi,
There is an error/oversight in the code
(http://www.gnu.org/software/gsl/manual/html_node/Fitting-Examples.html#Fitting-Examples)
as you haven't included a method for reclaiming the memory allocated to
matrices and vectors. If you just use this code repeatedly in your own
example, it will eventually crash. Granted, this isn't a problem in your
example, but it would be neater and demonstrate the importance of
getting memory back. I know we should all read the manual from page one,
but it reality that doesn't often happen, so it would be good to have.
I'm not having a go, and I wanted to thank you for writing code which
gets me away from bloody numerical recipes. Well done.
Jim
--
-------------------------------------------------------------------------
James Allsopp E-Mail address@hidden
Astrophysics Research Institute Telephone +44 151 2312922
Liverpool John Moores University Fax +44 151 2312921
-------------------------------------------------------------------------
- [Bug-gsl] address@hidden,
James Allsopp <=