I think I figured out and fixed the situation with isnan.

>From http://lists.apple.com/archives/xcode-users/2005/Feb/msg00196.html

> 
> Basically the story is this:
> isnan() is a C99 extension to standard C.
> Standard C++ is based on an older standard of C.
> Hence isnan() is not part of standard C++ and may or may not work.

But std::isnan() is part of standard C++ defined in <cmath>.

Since we use C++ (which numpy doesn't) we can drop our own isnan support
and use std::isnan(). Which I just did.

The cmath header also defines isfinite and isinf. So, John, go at the
original change you wanted to make this morning, at least once the dust
settle and we're happy this will work on all target platforms (now
tested with gcc on Mac and Linux -- I'm afraid MSVC is beyond me right now).

-Andrew

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to