A minor fix.
This commit is contained in:
parent
f0de1a08b8
commit
befcbf56fe
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user