Hi,
found an error in GSL maual section "One-dimensional Root Finding>Providing 
the function to solve":

>  The function f(x) can be evaluated using the following macro, 
> 
> #define GSL_FN_EVAL(F,x) 
>     (*((F)->function))(x,(F)->params)
> 
>  
the first arguement should be &F, so that it reads

#define GSL_FN_EVAL(&F,x)

I guess it's the same for other GSL_FN macros

Regards,
Ivan Liu
_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to