Commit 45387336 authored by Liam Healy's avatar Liam Healy
Browse files

Fix order of arguments in set-fminimizer-with-values

Argument order in call to "gsl_min_fminimizer_set_with_values" in
set-fminimizer-with-values now correctly matches stated order in
/usr/include/gsl/gsl_min.h.  Patch from Evgeniy Zhemchugov.
parent 6f287646
;; Univariate minimization
;; Liam Healy Tue Jan 8 2008 - 21:02
;; Time-stamp: <2009-04-04 22:27:15EDT minimization-one.lisp>
;; Time-stamp: <2009-08-23 16:06:40EDT minimization-one.lisp>
;; $Id$
(in-package :gsl)
......@@ -32,8 +32,9 @@
f-minimum f-lower f-upper)
(((mpointer minimizer) :pointer) (function :pointer)
(x-minimum :double) (x-lower :double) (x-upper :double)
(f-minimum :double) (f-lower :double) (f-upper :double))
(x-minimum :double) (f-minimum :double)
(x-lower :double) (f-lower :double)
(x-upper :double) (f-upper :double))
:documentation ; FDL
"Set, or reset, an existing minimizer to use the
function and the initial search interval [lower,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment