From c208ba2b5c725b42eb7e718bd7b19c4e173a925f Mon Sep 17 00:00:00 2001 From: anapt Date: Tue, 6 Feb 2018 16:03:00 +0200 Subject: [PATCH] norm kernel --- mean_shift_cuda/meanshift_kernels.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mean_shift_cuda/meanshift_kernels.cu b/mean_shift_cuda/meanshift_kernels.cu index 47c6dd7..9b62a07 100644 --- a/mean_shift_cuda/meanshift_kernels.cu +++ b/mean_shift_cuda/meanshift_kernels.cu @@ -98,7 +98,7 @@ __global__ void norm(Matrix mean_shift_vector, double *current_norm) { * mean_shift_vector.elements[row * mean_shift_vector.width + element_index]; } - ¤t_norm = sqrt(cell_value); + current_norm = sqrt(cell_value); // // new_shift elements are calculated by dividing with the denominator