Patch to NaN checking -- was incorrectly checking closures.
Patch to NaN checking -- was incorrectly checking closures.


git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@559 a3683778-fedd-11de-87c3-653bb6514e15

fpsunflower/OpenShadingLanguage,brechtvl/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,brechtvl/OpenShadingLanguage,imageworks/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,mcanthony/OpenShadingLanguage,Anteru/OpenShadingLanguage,gzorin/OpenShadingLanguage,lgritz/OpenShadingLanguage,brechtvl/OpenShadingLanguage,aconty/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,imageworks/OpenShadingLanguage,gzorin/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,aconty/OpenShadingLanguage,imageworks/OpenShadingLanguage,svenstaro/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,imageworks/OpenShadingLanguage,brechtvl/OpenShadingLanguage,mcanthony/OpenShadingLanguage,sjparker/OpenShadingLanguage,mcanthony/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,gzorin/OpenShadingLanguage,svenstaro/OpenShadingLanguage,imageworks/OpenShadingLanguage,juvenal/OpenShadingLanguage,brechtvl/OpenShadingLanguage,Anteru/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,Anteru/OpenShadingLanguage,aconty/OpenShadingLanguage,lgritz/OpenShadingLanguage,juvenal/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,svenstaro/OpenShadingLanguage,lgritz/OpenShadingLanguage,rlmh/OpenShadingLanguage,rlmh/OpenShadingLanguage,juvenal/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,sjparker/OpenShadingLanguage,juvenal/OpenShadingLanguage,rlmh/OpenShadingLanguage,lgritz/OpenShadingLanguage,sjparker/OpenShadingLanguage,Anteru/OpenShadingLanguage,sjparker/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,mcanthony/OpenShadingLanguage,svenstaro/OpenShadingLanguage,gzorin/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage,aconty/OpenShadingLanguage,rlmh/OpenShadingLanguage