[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] const args for some permutation and multimin functions
From: |
Brian Gough |
Subject: |
Re: [Bug-gsl] const args for some permutation and multimin functions |
Date: |
Tue, 13 Nov 2007 20:30:46 +0000 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) |
At Mon, 12 Nov 2007 17:15:50 -0600 (CST),
Justin Lenzo wrote:
> There are a few routines that I have noticed should probably take pointers
> to constant objects, because they do not actually change the underlying
> data. Attached please find a patch that modifies the definitions of a few
> cases:
>
> gsl_permutation_valid
> gsl_multin_fdfminizer_x
> gsl_multin_fdfminizer_dx
> gsl_multin_fdfminizer_gradient
> gsl_multin_fdfminizer_minimum
>
> Note that the documentation for the fdfminimizer routines describes them
> as taking a constant object, but in the code they do not.
Thanks for the patch!
I've applied it to the CVS repository.
--
Brian Gough