public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Bug in diff.c
@ 2001-12-19 13:20 Asterio Gonzalez
  2001-12-19 13:20 ` Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Asterio Gonzalez @ 2001-12-19 13:20 UTC (permalink / raw)
  To: gsl-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug in diff.c
  2001-12-19 13:20 Bug in diff.c Asterio Gonzalez
@ 2001-12-19 13:20 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2001-12-19 13:20 UTC (permalink / raw)
  To: Asterio Gonzalez; +Cc: gsl-discuss

Asterio Gonzalez writes:
 > 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.

Thanks for the bug report, now fixed in CVS (also for lines 81, 83).

regards
Brian Gough

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-19 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-19 13:20 Bug in diff.c Asterio Gonzalez
2001-12-19 13:20 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).