A minor fix.

pull/1744/head
Baichuan Su 12 years ago
parent f0de1a08b8
commit befcbf56fe
  1. 4
      modules/ocl/src/opencl/imgproc_calcHarris.cl

@ -195,9 +195,9 @@ __kernel void calcHarris(__global const float *Dx, __global const float *Dy, __g
FPTYPE temp_sum = 0;
for (int i=-anX; i<=anX - till; i++)
{
temp_sum += temp[k][col+i];
tmp_sum[k] = temp_sum;
temp_sum += temp[k][col+i];
}
tmp_sum[k] = temp_sum;
}
if (posX < dst_cols && (posY) < dst_rows)

Loading…
Cancel
Save