diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-28 16:02:20 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-28 16:02:44 +0300 |
commit | de3ee3c6e842692a32182f3349bc1c76cde14683 (patch) | |
tree | c6aeaf38d4f43004bd8ffb9ff50e38dff7b86e34 /intern | |
parent | 6dd047c333081e45a99119daaf2e9965471e05e2 (diff) |
Cycles: Fix compilation error of CUDA kernel
Was caused by previous commit.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/bvh/bvh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/bvh/bvh.h b/intern/cycles/kernel/bvh/bvh.h index b3135573878..d11d999134c 100644 --- a/intern/cycles/kernel/bvh/bvh.h +++ b/intern/cycles/kernel/bvh/bvh.h @@ -170,7 +170,7 @@ ccl_device_inline bool scene_intersect_valid(const Ray *ray) * From production scenes so far it seems it's enough to test first element * only. */ - return finite(ray->P.x); + return isfinite(ray->P.x); } /* Note: ray is passed by value to work around a possible CUDA compiler bug. */ |