[Top][All Lists]

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

[Bug-gsl] Bug - GSL_FN_FDF_EVAL_F

From: Edith Viau
Subject: [Bug-gsl] Bug - GSL_FN_FDF_EVAL_F
Date: Thu, 19 Feb 2015 21:06:11 -0500

Hi everyone : )

I think that a small bug was lost in versioning... Correct me if I am
wrong, and I am most sorry if this issue was already brought up to you - I
was unable to find previous mentions of this.

In the gsl_math.h file, line 145. We read :

#define GSL_FN_FDF_EVAL_F(FDF,x) (*((FDF)->*f)*)(x,(FDF)->params)

It should be :

#define GSL_FN_FDF_EVAL_F(FDF,x) (*((FDF)->*function*))(x,(FDF)->params)

When I make the change, I am able to use the macro as intended.  The change
is in bold.

Let me know if there is anything or if I should provide a program sample.

Have a great day/evening,


reply via email to

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