Commit befcbf56 authored by Baichuan Su's avatar Baichuan Su

A minor fix.

parent f0de1a08
...@@ -195,9 +195,9 @@ __kernel void calcHarris(__global const float *Dx, __global const float *Dy, __g ...@@ -195,9 +195,9 @@ __kernel void calcHarris(__global const float *Dx, __global const float *Dy, __g
FPTYPE temp_sum = 0; FPTYPE temp_sum = 0;
for (int i=-anX; i<=anX - till; i++) for (int i=-anX; i<=anX - till; i++)
{ {
temp_sum += temp[k][col+i]; temp_sum += temp[k][col+i];
tmp_sum[k] = temp_sum;
} }
tmp_sum[k] = temp_sum;
} }
if (posX < dst_cols && (posY) < dst_rows) if (posX < dst_cols && (posY) < dst_rows)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment