From 474d90c43e5beeb2779ed3e5cae4656b9777ec9d Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sun, 18 Sep 2011 01:05:28 -0400 Subject: [PATCH] windows compilation fix --- src/utils/rdielprec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/rdielprec.cpp b/src/utils/rdielprec.cpp index 0b56790d..1bb36651 100644 --- a/src/utils/rdielprec.cpp +++ b/src/utils/rdielprec.cpp @@ -41,7 +41,7 @@ void transmittanceIntegrand(const BSDF *bsdf, const Vector &wi, size_t nPts, con Intersection its; #pragma omp parallel for - for (size_t i=0; isample(bRec, sample)[0]; - if (std::isnan(out[i])) + if (mts_isnan(out[i])) SLog(EError, "%s\n\nNaN!", bRec.toString().c_str()); } }