Skip to content

Commit 916084c

Browse files
Fix field assignment in benchmark
1 parent b05b25b commit 916084c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ImageSharp.Benchmarks/PixelBlenders/PorterDuffBulkVsSingleVector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Vector4 OverlayValueFunction_Scalar()
5353
public Vector256<float> OverlayValueFunction_Avx()
5454
{
5555
ref Vector256<float> backdrop = ref Unsafe.As<Vector4, Vector256<float>>(ref MemoryMarshal.GetReference<Vector4>(this.backdrop));
56-
ref Vector256<float> source = ref Unsafe.As<Vector4, Vector256<float>>(ref MemoryMarshal.GetReference<Vector4>(this.backdrop));
56+
ref Vector256<float> source = ref Unsafe.As<Vector4, Vector256<float>>(ref MemoryMarshal.GetReference<Vector4>(this.source));
5757

5858
Vector256<float> result = default;
5959
Vector256<float> opacity = Vector256.Create(.5F);

0 commit comments

Comments
 (0)