[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] FFTs won't work along with atof function
From: |
Frank Reininghaus |
Subject: |
Re: [Bug-gsl] FFTs won't work along with atof function |
Date: |
Wed, 28 Sep 2011 14:52:14 +0200 |
2011/9/28 nengfu tang <address@hidden>:
> Dear gsl team,
>
> FFTs functions won't work along with "atof()". It report nan. if comment
> the atof,the reusult is correct.
You haven't included <stdlib.h>, the header for the atof() function.
If you do that, this fixes the problem.
Note that in C++ mode, gcc catches the problem and aborts with an error message.
Cheers,
Frank