Browse Source

Remove NotNull guard on value type

pull/631/head
Jesse Gielen 8 years ago
parent
commit
72ea22bce0
  1. 1
      src/ImageSharp/Processing/Dithering/ErrorDiffusion/ErrorDiffuserBase.cs

1
src/ImageSharp/Processing/Dithering/ErrorDiffusion/ErrorDiffuserBase.cs

@ -47,7 +47,6 @@ namespace SixLabors.ImageSharp.Processing.Dithering.ErrorDiffusion
/// <param name="divisor">The divisor.</param>
internal ErrorDiffuserBase(DenseMatrix<float> matrix, byte divisor)
{
Guard.NotNull(matrix, nameof(matrix));
Guard.MustBeGreaterThan(divisor, 0, nameof(divisor));
this.matrix = matrix;

Loading…
Cancel
Save