[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isnan problem on OSX
From: |
Søren Hauberg |
Subject: |
Re: isnan problem on OSX |
Date: |
Tue, 23 Mar 2010 16:27:38 -0700 |
tir, 23 03 2010 kl. 22:56 +0000, skrev Kári Davíðsson:
> I am trying to install optim package. There are compile errors
> regarding isnan() which is actually
> a macro on the Mac OS X.
> I have tried to include math.h directly as well as lo-ieee.h from the
> file __bfgsmin.cc
Can you use 'lo_ieee_isnan' instead of 'isnan'? It seems to be defined
in 'octave/lo-ieee.h' so you would need to include that header.
Søren