Skip to content
Snippets Groups Projects
Commit 735356c7 authored by Daniel Maier's avatar Daniel Maier
Browse files

gaussian: remove += to make reconstruction possible

parent 458421bf
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ void kernel_gaussian(int ni, int nj,
B[i][j] = SCALAR_VAL(0.0);
for(k = -KERNEL_SIZE_HALF; k < KERNEL_SIZE_HALF; k++) {
for(l = -KERNEL_SIZE_HALF; l < KERNEL_SIZE_HALF; l++) {
B[i+k][j+l] += A[i+k][j+l] * C[KERNEL_SIZE_HALF+k][KERNEL_SIZE_HALF+l];
B[i+k][j+l] = B[i+k][j+l] + A[i+k][j+l] * C[KERNEL_SIZE_HALF+k][KERNEL_SIZE_HALF+l];
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment