Browse Source

Merge pull request #631 from Jjagg/violatedthelaw

Remove NotNull guard on value type
af/merge-core
Anton Firsov 8 years ago
committed by GitHub
parent
commit
603dcfc69a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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