From c6deb880387bb30476c3d2eefcf8f30e36af0abb Mon Sep 17 00:00:00 2001 From: anapt Date: Fri, 26 Jan 2018 13:06:13 +0200 Subject: [PATCH] compile error fixex --- mean_shift_cuda/meanshift_kernels.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mean_shift_cuda/meanshift_kernels.cu b/mean_shift_cuda/meanshift_kernels.cu index d7fcdc5..16b8710 100644 --- a/mean_shift_cuda/meanshift_kernels.cu +++ b/mean_shift_cuda/meanshift_kernels.cu @@ -58,7 +58,7 @@ __global__ void denominator_kernel(Matrix denominator, Matrix kernel_matrix){ return; } - denominator[col]=0; - denominator[row] += kernel_matrix[row*denominator.width + col]; + denominator.elements[col]=0; + denominator.elements[row] += kernel_matrix.elements[row*denominator.width + col]; } \ No newline at end of file