|
From: | Brian Gladman |
Subject: | [Bug-gsl] Issue with log1p |
Date: | Sat, 8 Sep 2012 14:27:00 +0100 |
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.
This also applies to other functions that seek to substitute for missing 'standard' functions.
I picked this up on the Microsoft compiler but it also impacts on the Intel compiler on Windows.
best regards, Brian Gladman
[Prev in Thread] | Current Thread | [Next in Thread] |