This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug in diff.c



Hi all,

There is a bug in file diff.c


Line 51:
	  d[i] = f->f (w->evaluation_point, 0);

must be

	  d[i] = f->f (w->evaluation_point, f->params);


The evaluate function fails when you must use 'params' info,
so this way passes params to evaluate function.

--
Asterio González Pastor
Responsable I+D
INGENIEURWISSENSCHAFT UND DIENST, S.L.L
P.I.S.A Manufactura 4. Edif. Logos 1. 1º planta.
41927. Mairena del Aljarafe. Sevilla - España
Telf: 954 189010 - Fax: 954 189139
e-mail: agonzalez@udiberica.com
http://www.udiberica.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]