From f0777625e3f52aceaffe33048ad68e498af4426a Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 30 Oct 2018 15:05:15 +0100 Subject: [PATCH] fix isnan --- src/ebsynth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ebsynth.cpp b/src/ebsynth.cpp index 629da3f..cc131a7 100644 --- a/src/ebsynth.cpp +++ b/src/ebsynth.cpp @@ -467,10 +467,10 @@ int main(int argc,char** argv) } std::vector styleWeights(numStyleChannelsTotal); - if (isnan(styleWeight)) { styleWeight = 1.0f; } + if (std::isnan(styleWeight)) { styleWeight = 1.0f; } for(int i=0;i guideWeights(numGuideChannelsTotal); {