Fixed remaining syntax errors in OSL files. node_sepcomb_rgb.osl is split into 2...
[blender.git] / intern / cycles / kernel / kernel_accumulate.h
index d99beb8905acf09ebcd86ad8ab7e1f611a684156..3f4cd0c4350271522cd6bce83b8ead7a18c2948a 100644 (file)
@@ -303,7 +303,7 @@ __device_inline void path_radiance_clamp(PathRadiance *L, float3 *L_sum, float c
 {
        float sum = fabsf((*L_sum).x) + fabsf((*L_sum).y) + fabsf((*L_sum).z);
 
-       if(!isfinite(sum)) {
+       if(!std::isfinite(sum)) {
                /* invalid value, reject */
                *L_sum = make_float3(0.0f, 0.0f, 0.0f);