Skip to content

Commit 0a8a8cb

Browse files
committed
Fixed bug in matrix equals
1 parent 696a3ff commit 0a8a8cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Synercoding.FileFormats.Pdf/Matrix.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Synercoding.Primitives;
1+
using Synercoding.Primitives;
22
using System;
33
using System.Runtime.CompilerServices;
44

@@ -95,7 +95,7 @@ public Matrix(double a, double b, double c, double d, double e, double f)
9595

9696
/// <inheritdoc/>
9797
public override bool Equals(object? obj)
98-
=> obj is Rectangle other && Equals(other);
98+
=> obj is Matrix other && Equals(other);
9999

100100
/// <inheritdoc/>
101101
[MethodImpl(MethodImplOptions.AggressiveInlining)]

0 commit comments

Comments
 (0)