bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] const args for some permutation and multimin functions


From: Justin Lenzo
Subject: [Bug-gsl] const args for some permutation and multimin functions
Date: Mon, 12 Nov 2007 17:15:50 -0600 (CST)
User-agent: SquirrelMail/1.4.3a

Dear GSL Developers:

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.

My apologies if I have not made the patch correctly or if there are issues
that I am neglecting to consider.

Thank you,
Justin Lenzo

Attachment: gsl-cvs-diff-20071112.diff
Description: Binary data


reply via email to

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