diff --git a/src/ImageSharp/Primitives/DenseMatrix{T}.cs b/src/ImageSharp/Primitives/DenseMatrix{T}.cs
index 97fbdb2b3..828aeadfa 100644
--- a/src/ImageSharp/Primitives/DenseMatrix{T}.cs
+++ b/src/ImageSharp/Primitives/DenseMatrix{T}.cs
@@ -180,9 +180,9 @@ namespace SixLabors.ImageSharp.Primitives
}
///
- public bool Equals(DenseMatrix other) =>
- this.Columns == other.Columns &&
- this.Rows == other.Rows &&
+ public bool Equals(DenseMatrix other) =>
+ this.Columns == other.Columns &&
+ this.Rows == other.Rows &&
this.Span.SequenceEqual(other.Span);
///