diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2018-10-08 23:22:05 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2018-10-08 23:22:05 +0300 |
commit | 7aaeb06fb6f020cae4c19e51a63b963d3f5c54f7 (patch) | |
tree | cf9d932abc027b5105cf2927bf57146d758d8c1a | |
parent | 0234de7d8517b16f7a1df7e537f711d3f062ba29 (diff) |
Cycles: Clean up extra minus in previous commit
Forgot to add that change, sorry for the noise.
-rw-r--r-- | intern/cycles/device/opencl/opencl_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/opencl/opencl_base.cpp b/intern/cycles/device/opencl/opencl_base.cpp index 75418dad1cc..ffd3b7d7625 100644 --- a/intern/cycles/device/opencl/opencl_base.cpp +++ b/intern/cycles/device/opencl/opencl_base.cpp @@ -867,7 +867,7 @@ bool OpenCLDeviceBase::denoising_reconstruct(device_ptr color_ptr, int r = task->radius; int pass_stride = task->buffer.pass_stride; - int num_shifts = (2*r-+1)*(2*r+1); + int num_shifts = (2*r+1)*(2*r+1); device_sub_ptr difference(task->buffer.temporary_mem, 0, pass_stride*num_shifts); device_sub_ptr blurDifference(task->buffer.temporary_mem, pass_stride*num_shifts, pass_stride*num_shifts); |