Fix MSVC compilation, thanks to Fred.

This commit is contained in:
James Turner 2013-02-18 13:56:41 +00:00
parent 57b4ce96e4
commit 3c8cfe9b76

View File

@ -34,7 +34,10 @@
#include "sample_group.hxx"
using std::string;
#ifdef HAVE_STD_ISNAN
using std::isnan;
#endif
bool isNaN(float *v) {
return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));