help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] problems in gsl_siman_solve


From: Marco Maggi
Subject: Re: [Help-gsl] problems in gsl_siman_solve
Date: Tue, 20 Feb 2007 09:52:37 +0100

"Marco Maggi" wrote:
>in GSL 1.8 am I correct in saying that in function
>'gsl_siman_solve()' in "siman.c" on line 116 and 125
>there should be a call to:
>
>   destructor(x);
>
>before overwriting 'x' with the accepted new configuration?
>
>Also, at the end of the function, line 158, the start
>configuration is overwritten without a call to:
>
>   destructor(x0_p);
>

I am wrong here (too early in the morning): I understand
that it is responsibility of the copy function to
act upon the target structure to to free resources before
overwriting the fields.

--
Marco Maggi






reply via email to

[Prev in Thread] Current Thread [Next in Thread]