Skip to content

Commit

Permalink
Reduce incorrect blank maargin on cropped blur
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Dec 12, 2020
1 parent 3180ec4 commit 2913201
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void Invoke(int y)

// The target buffer is zeroed initially and then it accumulates the results
// of each partial convolution, so we don't have to clear it here as well
ref Vector4 targetBase = ref this.targetValues.GetElementUnsafe(0, y);
ref Vector4 targetBase = ref this.targetValues.GetElementUnsafe(boundsX, y);
ref Complex64 kernelBase = ref this.kernel[0];

for (int kY = 0; kY < kernelSize; kY++)
Expand Down

0 comments on commit 2913201

Please sign in to comment.