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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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; |
|
|
|
|