-----Original Message----- From: Rhys Ulerich
Sent: Saturday, September 08, 2012 4:59 PM
To: Brian Gladman
Cc: [email protected]
Subject: Re: [Bug-gsl] Issue with log1p

Hi Brian,

But in many files where log1p is used, the gsl_sys.h header (where gsl_log1p is declared) is not included so the compiler doesn't pick up the declaration
of gsl_log1p and hence wrongly concludes that it returns an int.

So the header gsl_sys.h needs to be included in all files where log_1p is
used.

=============
I have now looked at the header file hierarchy and the only files that need the gsl_sys.h header added are:

gsl-bzr\multimin\simplex.c
gsl-bzr\multimin\simplex2.c
gsl-bzr\randist\nbinomial.c
gsl-bzr\rng\ranf.c

It might be more appropriate to add gsl_math.h in some of these cases.

    Brian


Reply via email to