Fix MSVC compilation, thanks to Fred.
This commit is contained in:
parent
57b4ce96e4
commit
3c8cfe9b76
@ -34,7 +34,10 @@
|
|||||||
#include "sample_group.hxx"
|
#include "sample_group.hxx"
|
||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
|
#ifdef HAVE_STD_ISNAN
|
||||||
using std::isnan;
|
using std::isnan;
|
||||||
|
#endif
|
||||||
|
|
||||||
bool isNaN(float *v) {
|
bool isNaN(float *v) {
|
||||||
return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));
|
return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));
|
||||||
|
Loading…
Reference in New Issue
Block a user