From d4902771947372f10fb095629021a3e247887d92 Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Wed, 5 Sep 2012 18:12:17 +0000 Subject: Quick fix for compiler error. Somehow the isfinite symbol got lost for SVM too now, no idea how this happened or where it actually came from. This will likely also cause trouble with CUDA/OpenCL compilers, will have to be fixed properly later. --- intern/cycles/kernel/kernel_accumulate.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'intern/cycles/kernel/kernel_accumulate.h') diff --git a/intern/cycles/kernel/kernel_accumulate.h b/intern/cycles/kernel/kernel_accumulate.h index e73b2ba70b8..bd03537519f 100644 --- a/intern/cycles/kernel/kernel_accumulate.h +++ b/intern/cycles/kernel/kernel_accumulate.h @@ -301,9 +301,7 @@ __device_inline float3 path_radiance_sum(KernelGlobals *kg, PathRadiance *L) __device_inline void path_radiance_clamp(PathRadiance *L, float3 *L_sum, float clamp) { - #ifdef WITH_OSL using std::isfinite; - #endif float sum = fabsf((*L_sum).x) + fabsf((*L_sum).y) + fabsf((*L_sum).z); -- cgit v1.2.3