[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Doubt (bug?) in gsl_fit_linear function
From: |
Juan Pablo Amorocho D. |
Subject: |
Re: [Help-gsl] Doubt (bug?) in gsl_fit_linear function |
Date: |
Sun, 10 Jun 2012 00:37:26 +0200 |
My guess is that once you get the nan it propagates through the code. Have
you tried debugging it? Using eclipse under ubuntu I couldn't see through
all the variables.
Cheers,
Juan
On Jun 9, 2012 10:36 PM, "Ruchin Kansal" <address@hidden> wrote:
> Thanks,
> But i just dont understand why it comes nan. I expect slope as infinity
> and rest output as some finite real numbers. Am i missing something? Is it
> a wrong expectation?
>
>
> Sent from Yahoo! Mail on Android
>
> ------------------------------
> * From: * Sam Mason <address@hidden>;
> * To: * Ruchin Kansal <address@hidden>;
> * Cc: * address@hidden <address@hidden>; address@hidden <
> address@hidden>; address@hidden <address@hidden>;
> * Subject: * Re: [Help-gsl] Doubt (bug?) in gsl_fit_linear function
> * Sent: * Sat, Jun 9, 2012 7:52:50 PM
>
> On 9 June 2012 20:34, Ruchin Kansal <address@hidden> wrote:
> > Yes, it shd be infinity. But at my end everything is printed as nan.
> Could you please post your outut in case it is different?
>
> As a single data point; Juan's code prints out NaN with GSL 1.15
> (installed through macports).
>
> If you want any more details, let me know.
>
> Sam
>
>