From 4ea092373d38de6695fc9018071ccaee940d68d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz-Guerra=20Aparicio?= Date: Wed, 2 Oct 2019 12:38:20 +0200 Subject: [PATCH] Fix bug in the LUT creation --- src/gpuRIR_cuda.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpuRIR_cuda.cu b/src/gpuRIR_cuda.cu index f911df0..129e59b 100644 --- a/src/gpuRIR_cuda.cu +++ b/src/gpuRIR_cuda.cu @@ -525,7 +525,7 @@ cudaTextureObject_t create_sinc_texture_lut(cudaArray **cuArrayLut, int Tw, int // Create lut in host memory int lut_center = lut_len / 2; scalar_t* sinc_lut_host = (scalar_t*)malloc(sizeof(scalar_t) * lut_len); - for (int i=0; i